org.jboss.aspects.asynch
Class AsynchAspect
java.lang.Object
org.jboss.aspects.asynch.AsynchAspect
public class AsynchAspect
- extends java.lang.Object
Comment
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FUTURE
public static final java.lang.String FUTURE
- See Also:
- Constant Field Values
executor
protected ExecutorAbstraction executor
AsynchAspect
public AsynchAspect()
getAdvisor
public org.jboss.aop.Advisor getAdvisor()
setAdvisor
public void setAdvisor(org.jboss.aop.Advisor advisor)
setGenerateDynamicProxy
public void setGenerateDynamicProxy(boolean gen)
execute
public java.lang.Object execute(org.jboss.aop.joinpoint.MethodInvocation invocation)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
setupRemoteFuture
protected void setupRemoteFuture(org.jboss.aop.joinpoint.MethodInvocation invocation,
RemotableFuture future,
org.jboss.remoting.InvokerLocator locator)
throws java.lang.Exception
- Throws:
java.lang.Exception
generateProxy
protected boolean generateProxy()
- Default behaviour is to generate a proxy using aop.
This can be overridden, e.g. by the EJB3 AsynchronousInterceptor to avoid dependencies on javassist for EJB3 clients
setupLocalFuture
protected void setupLocalFuture(org.jboss.aop.joinpoint.MethodInvocation invocation,
Future future)