org.granite.tide.seam.async
Class TideAsynchronousInterceptor
java.lang.Object
org.jboss.seam.intercept.AbstractInterceptor
org.granite.tide.seam.async.TideAsynchronousInterceptor
- All Implemented Interfaces:
- Serializable, OptimizedInterceptor
@Interceptor(stateless=true,
type=CLIENT,
around=org.jboss.seam.async.AsynchronousInterceptor.class)
public class TideAsynchronousInterceptor- extends AbstractInterceptor
Slightly modified version of the Seam asynchronous interceptor which saves the current username
Dispatches method calls to @Asynchronous methods
asynchronously, and returns the "timer" object
if necessary.
- Author:
- William DRAI
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TideAsynchronousInterceptor
public TideAsynchronousInterceptor()
aroundInvoke
@AroundInvoke
public Object aroundInvoke(InvocationContext invocation)
throws Exception
- Throws:
Exception
isInterceptorEnabled
public boolean isInterceptorEnabled()