|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.config.gen.LifecycleAspectBeanFactory<X>
@Module public class LifecycleAspectBeanFactory<X>
Represents a stateless local business method
Constructor Summary | |
---|---|
LifecycleAspectBeanFactory(AspectBeanFactory<X> next,
InjectManager manager,
AnnotatedType<X> beanType)
|
Method Summary | |
---|---|
AspectGenerator<X> |
create(AnnotatedMethod<? super X> method)
Creates an aspect generator. |
void |
generateEpilogue(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map)
Generates final closing information. |
void |
generateInject(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map)
Generates final closing information. |
void |
generatePostConstruct(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map)
Generates final initialization information. |
void |
generatePreDestroy(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> hashMap)
Generates final closing information. |
java.lang.String |
getBeanInfo()
Generates data associated with the bean |
java.lang.String |
getBeanInstance()
Returns the bean instance Java reference. |
java.lang.String |
getBeanProxy()
Generates the proxy object. |
java.lang.String |
getBeanSuper()
Returns the bean instance call. |
AnnotatedType<X> |
getBeanType()
Returns the bean type. |
java.lang.String |
getGeneratedClassName()
Returns the generated bean name |
AspectFactory<X> |
getHeadAspectFactory()
Returns the head aspect factory |
java.lang.String |
getInstanceClassName()
Returns the generated bean name |
java.lang.String |
getInterceptorInstance()
Returns the interceptor instance Java reference. |
boolean |
isEnhanced()
Returns true if the factory forces enhancement. |
boolean |
isProxy()
Returns true for a proxied instance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LifecycleAspectBeanFactory(AspectBeanFactory<X> next, InjectManager manager, AnnotatedType<X> beanType)
Method Detail |
---|
public boolean isProxy()
AspectBeanFactory
isProxy
in interface AspectBeanFactory<X>
public AnnotatedType<X> getBeanType()
AspectBeanFactory
getBeanType
in interface AspectBeanFactory<X>
public java.lang.String getBeanInstance()
AspectBeanFactory
getBeanInstance
in interface AspectBeanFactory<X>
public java.lang.String getInterceptorInstance()
AspectBeanFactory
getInterceptorInstance
in interface AspectBeanFactory<X>
public java.lang.String getBeanProxy()
getBeanProxy
in interface AspectBeanFactory<X>
public java.lang.String getBeanSuper()
AspectBeanFactory
getBeanSuper
in interface AspectBeanFactory<X>
public java.lang.String getBeanInfo()
getBeanInfo
in interface AspectBeanFactory<X>
public java.lang.String getGeneratedClassName()
getGeneratedClassName
in interface AspectBeanFactory<X>
public java.lang.String getInstanceClassName()
getInstanceClassName
in interface AspectBeanFactory<X>
public AspectFactory<X> getHeadAspectFactory()
AspectBeanFactory
getHeadAspectFactory
in interface AspectBeanFactory<X>
public boolean isEnhanced()
AspectBeanFactory
isEnhanced
in interface AspectBeanFactory<X>
public AspectGenerator<X> create(AnnotatedMethod<? super X> method)
AspectBeanFactory
create
in interface AspectBeanFactory<X>
public void generateEpilogue(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> map) throws java.io.IOException
AspectBeanFactory
generateEpilogue
in interface AspectBeanFactory<X>
java.io.IOException
public void generateInject(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> map) throws java.io.IOException
AspectBeanFactory
generateInject
in interface AspectBeanFactory<X>
java.io.IOException
public void generatePostConstruct(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> map) throws java.io.IOException
AspectBeanFactory
generatePostConstruct
in interface AspectBeanFactory<X>
java.io.IOException
public void generatePreDestroy(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> hashMap) throws java.io.IOException
AspectBeanFactory
generatePreDestroy
in interface AspectBeanFactory<X>
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |