org.jboss.ejb3.async.impl.interceptor
Class AsynchronousServerInterceptor

java.lang.Object
  extended by org.jboss.ejb3.async.impl.interceptor.AsynchronousServerInterceptor
All Implemented Interfaces:
java.io.Serializable, org.jboss.aop.advice.Interceptor

public class AsynchronousServerInterceptor
extends java.lang.Object
implements org.jboss.aop.advice.Interceptor, java.io.Serializable

Ensures the Future implementation provided by a bean provider is capable of being serialized; if not, provides this mechanism. Also manages a backing reference to the currently queued/running asynchronous operations such that they may be cancelled.

See Also:
Serialized Form

Constructor Summary
AsynchronousServerInterceptor()
          No-arg constructor required
 
Method Summary
 java.lang.String getName()
          
 java.lang.Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsynchronousServerInterceptor

public AsynchronousServerInterceptor()
No-arg constructor required

Method Detail

getName

public java.lang.String getName()

Specified by:
getName in interface org.jboss.aop.advice.Interceptor
See Also:
Interceptor.getName()

invoke

public java.lang.Object invoke(org.jboss.aop.joinpoint.Invocation invocation)
                        throws java.lang.Throwable

Specified by:
invoke in interface org.jboss.aop.advice.Interceptor
Throws:
java.lang.Throwable
See Also:
Interceptor.invoke(org.jboss.aop.joinpoint.Invocation)