com.caucho.config.gen
Class AsynchronousFactory<X>

java.lang.Object
  extended by com.caucho.config.gen.AbstractAspectFactory<X>
      extended by com.caucho.config.gen.AsynchronousFactory<X>
All Implemented Interfaces:
AspectFactory<X>

@Module
public class AsynchronousFactory<X>
extends AbstractAspectFactory<X>

Aspect factory for generating @Asynchronous aspects.


Constructor Summary
AsynchronousFactory(AspectBeanFactory<X> beanFactory, AspectFactory<X> next)
           
 
Method Summary
 AspectGenerator<X> create(AnnotatedMethod<? super X> method, boolean isEnhanced)
          Creates an aspect for interception if the method should be intercepted.
 
Methods inherited from class com.caucho.config.gen.AbstractAspectFactory
generateEpilogue, generateInject, generatePostConstruct, generatePreDestroy, getAspectBeanFactory, getBeanType, getGeneratedClassName, getInstanceClassName, getJavaClass, isEnhanced, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AsynchronousFactory

public AsynchronousFactory(AspectBeanFactory<X> beanFactory,
                           AspectFactory<X> next)
Method Detail

create

public AspectGenerator<X> create(AnnotatedMethod<? super X> method,
                                 boolean isEnhanced)
Creates an aspect for interception if the method should be intercepted.

Specified by:
create in interface AspectFactory<X>
Overrides:
create in class AbstractAspectFactory<X>