| org.apache.beehive.controls.spi.svc.Interceptor
Interceptor | public interface Interceptor (Code) | | The controls implementation architecture has a interceptor model for
adding annotation-based features. This model provides the ability to
associate a JavaBeans service interface with an annotation to define
its runtime feature behaviour. Such interfaces must extend this
Interceptor interface, which defines the contract that the controls runtime
has with interceptors.
The controls runtime will automatically instantiate and execute
implementations of interceptors at the appropriate execution points
(pre/post invocation of a control operation, etc).
The control runtime will continue the normal flow of control (ie, subsequent
interceptors and operation/event execution) unless an interceptor throws a
InterceptorPivotException . When this type of execption is encountered,
the runtime will "pivot" out.
|
Method Summary | |
public void | postEvent(ControlBean cb, Class eventSet, Method m, Object[] args, Object retval, Throwable t) | public void | postInvoke(ControlBean cb, Method m, Object[] args, Object retval, Throwable t) | public void | preEvent(ControlBean cb, Class eventSet, Method m, Object[] args) | public void | preInvoke(ControlBean cb, Method m, Object[] args) |
|
|