org.tango.server.annotation
Annotation Type AroundInvoke


@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.

Author:
ABEILLE



Copyright © 2012-2017. All Rights Reserved.