|
|||||||||||
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
outgoing functional invocations.
Before executing (in the case of a primitive component) or transferring (in
the case of a composite component) an outgoing functional request, the
beforeOutputMethodInvocation
method is called, and the
afterOutputMethodInvocation
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 beforeOutputMethodInvocation
method is called sequentially
for each controller in the order they are defined in the controllers
configuration file.
The afterOutputMethodInvocation
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) :
OutputInterceptor1
OutputInterceptor2
This means that an invocation on a server interface will follow this path :
--> currentComponent
--> OutputInterceptor1.beforeOutputMethodInvocation
--> OutputInterceptor2.beforeOutputMethodInvocation
--> callee.invocation
--> OutputInterceptor2.afterOutputMethodInvocation
--> OutputInterceptor1.afterOutputMethodInvocation
Method Summary | |
void |
afterOutputMethodInvocation(MethodCall methodCall)
This method is executed when an output invocation has been intercepted, after the execution of the output invocation. |
void |
beforeOutputMethodInvocation(MethodCall methodCall)
This method is executed when an output invocation is intercepted, before executing the output invocation. |
Method Detail |
public void beforeOutputMethodInvocation(MethodCall methodCall)
methodCall
- the method to be executed (MethodCall objects include method parameters and other ProActive-specific infos)public void afterOutputMethodInvocation(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 |