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

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

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

Aspect factory for generating @Lock aspects.


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

LockFactory

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