org.apache.beehive.controls.runtime.bean
Interface InvokeListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
ResourceContextImpl

public interface InvokeListener
extends EventListener

The InvokeListener interface can be implemented by contextual services or helper classes associated with a ControlBean that want pre/post hook notifications of invocations occuring on a ControlBean. Hooking is "read only". An InvokeListener cannot modify the invoked method, arguments, return value or thrown exceptions in any way.


Method Summary
 void postInvoke(Object retval, Throwable t)
          Called just after inovcation of an operation or callback event on a control
 void preInvoke(Method m, Object[] args)
          Called just prior to invoking an operation or callback event on a control.
 

Method Detail

preInvoke

void preInvoke(Method m,
               Object[] args)
Called just prior to invoking an operation or callback event on a control.


postInvoke

void postInvoke(Object retval,
                Throwable t)
Called just after inovcation of an operation or callback event on a control