org.jboss.seam.cron.spi.asynchronous
Class AsynchronousInterceptor

java.lang.Object
  extended by org.jboss.seam.cron.spi.asynchronous.AsynchronousInterceptor

@Interceptor
public class AsynchronousInterceptor
extends Object

Interceptor for asynchronous methods. Service providers for asynchronous method invocation should enable this interceptor in the beans.xml which ships with their implementation jar.

Method may be directly marked as #Asynchronous or may exist on a type marked as #Asynchronous.

Author:
Peter Royle

Field Summary
protected static String INVOKED_IN_THREAD
           
 ThreadLocal<Boolean> invokedFromInterceptorInThread
           
 
Constructor Summary
AsynchronousInterceptor()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVOKED_IN_THREAD

protected static final String INVOKED_IN_THREAD
See Also:
Constant Field Values

invokedFromInterceptorInThread

public ThreadLocal<Boolean> invokedFromInterceptorInThread
Constructor Detail

AsynchronousInterceptor

public AsynchronousInterceptor()


Copyright © 2011 Seam Framework. All Rights Reserved.