All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface Iava.observation.MethodCallListener

public interface MethodCallListener
The interface MethodCallListener is implemented by classes which need to be notified about the invokation of methods in a IavaRuntime. Each time a script invokes a method in a given instance of IavaRuntime, the registered method listeners for this runtime are notified and passed the method object. Caution: Registering MethodCallListeners may considerably downgrade interpreter performance!

See Also:
addMethodCallListener, removeMethodCallListener

Method Index

 o aboutToCall(IavaMethod)
Called by the runtime this listener is registered to before a method is called.
 o called(IavaMethod)
Called by the runtime this listener is registered to after a method was called.

Methods

 o aboutToCall
 public abstract void aboutToCall(IavaMethod m)
Called by the runtime this listener is registered to before a method is called.

 o called
 public abstract void called(IavaMethod m)
Called by the runtime this listener is registered to after a method was called.


All Packages  Class Hierarchy  This Package  Previous  Next  Index