|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface AroundInvoke
Defines an interceptor method that interposes on business methods (command, attribute). May be applied to any method
with a single parameter of type InvocationContext and return type is void.
@AroundInvoke
public void intercept(InvocationContext ctx) throws DevFailed { ... }
A class may not declare more than one @AroundInvoke method.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||