All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface Iava.observation.MethodDeclListener

public interface MethodDeclListener
The interface MethodDeclListener is implemented by classes which need to be notified about the declaration of methods in a IavaRuntime. Each time a script declares a new method in a given instance of IavaRuntime, the registered method listeners for this runtime are notified and passed the method object.

See Also:
addMethodDeclListener, removeMethodDeclListener

Method Index

 o methodDeclared(IavaMethod)
Called by the runtime this listener is registered to when a new method is declared.
 o scopeClosed()
Called by the runtime this listener is registered to after script execution, if the runtime's scoping policy is set to SCRIPT_SCOPE.

Methods

 o methodDeclared
 public abstract void methodDeclared(IavaMethod m)
Called by the runtime this listener is registered to when a new method is declared.

 o scopeClosed
 public abstract void scopeClosed()
Called by the runtime this listener is registered to after script execution, if the runtime's scoping policy is set to SCRIPT_SCOPE.

See Also:
GLOBAL_SCOPE, SCRIPT_SCOPE, setMethodScope, getMethodScope

All Packages  Class Hierarchy  This Package  Previous  Next  Index