|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface must be implemented by controllers that need to intercept
incoming functional invocations.
Before executing (in the case of a primitive component) or transferring (in
the case of a composite component) a functional request, the
beforeInputMethodInvocation
method is called, and the
afterInputMethodInvocation
is called after the execution or
transfer of the invocation.
These methods are executed on the controllers of the current component that
implement this interface.
The beforeInputMethodInvocation
method is called sequentially
for each controller in the order they are defined in the controllers
configuration file.
The afterInputMethodInvocation
method is called sequentially
for each controller in the reverse order they are defined in the
controllers configuration file.
Example :
if in the controller config file, the list of input interceptors is in this
order (the order in the controller config file is from top to bottom) :
InputInterceptor1
InputInterceptor2
This means that an invocation on a server interface will follow this path :
--> caller
--> InputInterceptor1.beforeInputMethodInvocation
--> InputInterceptor2.beforeInputMethodInvocation
--> callee.invocation
--> InputInterceptor2.afterInputMethodInvocation
--> InputInterceptor1.afterInputMethodInvocation
Method Summary | |
void |
afterInputMethodInvocation(MethodCall methodCall)
This method is executed when an input invocation has been intercepted, after the execution of the input invocation. |
void |
beforeInputMethodInvocation(MethodCall methodCall)
This method is executed when an input invocation is intercepted, before executing the input invocation. |
Method Detail |
public void beforeInputMethodInvocation(MethodCall methodCall)
methodCall
- the method to be executed (MethodCall objects include method parameters and other ProActive-specific infos)public void afterInputMethodInvocation(MethodCall methodCall)
methodCall
- the method that has been executed (MethodCall objects include method parameters and other ProActive-specific infos)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |