com.caucho.ejb.gen
Class SingletonMethodHeadFactory<X>

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

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

Represents a stateless local business method


Constructor Summary
SingletonMethodHeadFactory(SingletonAspectBeanFactory<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

SingletonMethodHeadFactory

public SingletonMethodHeadFactory(SingletonAspectBeanFactory<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>