org.granite.tide.seam.async
Class TideAsynchronousInterceptor

java.lang.Object
  extended by org.jboss.seam.intercept.AbstractInterceptor
      extended by 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

Constructor Summary
TideAsynchronousInterceptor()
           
 
Method Summary
 Object aroundInvoke(InvocationContext invocation)
           
 boolean isInterceptorEnabled()
           
 
Methods inherited from class org.jboss.seam.intercept.AbstractInterceptor
getComponent, setComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TideAsynchronousInterceptor

public TideAsynchronousInterceptor()
Method Detail

aroundInvoke

@AroundInvoke
public Object aroundInvoke(InvocationContext invocation)
                    throws Exception
Throws:
Exception

isInterceptorEnabled

public boolean isInterceptorEnabled()