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

java.lang.Object
  extended by com.caucho.config.gen.CandiAspectBeanFactory<X>
      extended by com.caucho.ejb.gen.SingletonAspectBeanFactory<X>
All Implemented Interfaces:
AspectBeanFactory<X>

@Module
public class SingletonAspectBeanFactory<X>
extends CandiAspectBeanFactory<X>

Factory for creating stateful business methods.


Constructor Summary
SingletonAspectBeanFactory(InjectManager manager, AnnotatedType<X> beanType)
           
 
Method Summary
protected  AspectFactory<X> createAspectFactory()
           
 java.lang.String getBeanInfo()
          Generates data associated with the bean
 java.lang.String getBeanInstance()
          Generates the underlying bean object
 java.lang.String getBeanProxy()
          Generates the proxy object.
 java.lang.String getBeanSuper()
          Returns the bean super reference.
 java.lang.String getGeneratedClassName()
          Returns the generated bean name
 java.lang.String getInstanceClassName()
          Returns the generated bean name
 boolean isProxy()
          Returns true for proxy-style generation
 
Methods inherited from class com.caucho.config.gen.CandiAspectBeanFactory
create, generateEpilogue, generateInject, generatePostConstruct, generatePreDestroy, getBeanType, getHeadAspectFactory, getInterceptorInstance, isEnhanced, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingletonAspectBeanFactory

public SingletonAspectBeanFactory(InjectManager manager,
                                  AnnotatedType<X> beanType)
Method Detail

getGeneratedClassName

public java.lang.String getGeneratedClassName()
Returns the generated bean name

Specified by:
getGeneratedClassName in interface AspectBeanFactory<X>
Overrides:
getGeneratedClassName in class CandiAspectBeanFactory<X>

getInstanceClassName

public java.lang.String getInstanceClassName()
Returns the generated bean name

Specified by:
getInstanceClassName in interface AspectBeanFactory<X>
Overrides:
getInstanceClassName in class CandiAspectBeanFactory<X>

isProxy

public boolean isProxy()
Returns true for proxy-style generation

Specified by:
isProxy in interface AspectBeanFactory<X>
Overrides:
isProxy in class CandiAspectBeanFactory<X>

getBeanInstance

public java.lang.String getBeanInstance()
Generates the underlying bean object

Specified by:
getBeanInstance in interface AspectBeanFactory<X>
Overrides:
getBeanInstance in class CandiAspectBeanFactory<X>

getBeanSuper

public java.lang.String getBeanSuper()
Description copied from class: CandiAspectBeanFactory
Returns the bean super reference.

Specified by:
getBeanSuper in interface AspectBeanFactory<X>
Overrides:
getBeanSuper in class CandiAspectBeanFactory<X>

getBeanProxy

public java.lang.String getBeanProxy()
Generates the proxy object.

Specified by:
getBeanProxy in interface AspectBeanFactory<X>
Overrides:
getBeanProxy in class CandiAspectBeanFactory<X>

getBeanInfo

public java.lang.String getBeanInfo()
Generates data associated with the bean

Specified by:
getBeanInfo in interface AspectBeanFactory<X>
Overrides:
getBeanInfo in class CandiAspectBeanFactory<X>

createAspectFactory

protected AspectFactory<X> createAspectFactory()
Overrides:
createAspectFactory in class CandiAspectBeanFactory<X>