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

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

@Module
public class LifecycleMethodHeadFactory<X>
extends MethodHeadFactory<X>

Represents a lifecycle method


Constructor Summary
LifecycleMethodHeadFactory(LifecycleAspectBeanFactory<X> beanFactory, AspectFactory<X> next)
           
 
Method Summary
 AspectGenerator<X> create(AnnotatedMethod<? super X> method, boolean isEnhanced)
          Returns an aspect for the method if one exists.
 
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

LifecycleMethodHeadFactory

public LifecycleMethodHeadFactory(LifecycleAspectBeanFactory<X> beanFactory,
                                  AspectFactory<X> next)
Method Detail

create

public AspectGenerator<X> create(AnnotatedMethod<? super X> method,
                                 boolean isEnhanced)
Description copied from class: MethodHeadFactory
Returns an aspect for the method if one exists.

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