org.jboss.seam.async
Class AsynchronousInterceptor

java.lang.Object
  extended by org.jboss.seam.intercept.AbstractInterceptor
      extended by org.jboss.seam.async.AsynchronousInterceptor
All Implemented Interfaces:
Serializable, OptimizedInterceptor

@Interceptor(stateless=true,
             type=CLIENT)
public class AsynchronousInterceptor
extends AbstractInterceptor

Dispatches method calls to @Asynchronous methods asynchronously, and returns the "timer" object if necessary.

Author:
Gavin King
See Also:
Serialized Form

Constructor Summary
AsynchronousInterceptor()
           
 
Method Summary
 Object aroundInvoke(InvocationContext invocation)
           
 
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

AsynchronousInterceptor

public AsynchronousInterceptor()
Method Detail

aroundInvoke

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