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

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

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

Aspect factory for generating @Asynchronous aspects.


Constructor Summary
CacheFactory(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

CacheFactory

public CacheFactory(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>