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

java.lang.Object
  extended by com.caucho.config.gen.AbstractAspectFactory<X>
      extended by com.caucho.config.gen.MethodHeadFactory<X>
All Implemented Interfaces:
AspectFactory<X>
Direct Known Subclasses:
CandiMethodHeadFactory, LifecycleMethodHeadFactory, MessageMethodHeadFactory, SingletonMethodHeadFactory, StatefulMethodHeadFactory, StatelessMethodHeadFactory

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

Represents a filter for invoking a method


Constructor Summary
protected MethodHeadFactory(AspectBeanFactory<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

MethodHeadFactory

protected MethodHeadFactory(AspectBeanFactory<X> beanFactory,
                            AspectFactory<X> next)
Method Detail

create

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

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