@Module public class LifecycleAspectBeanFactory<X> extends java.lang.Object implements AspectBeanFactory<X>
| Constructor and Description |
|---|
LifecycleAspectBeanFactory(AspectBeanFactory<X> next,
InjectManager manager,
AnnotatedType<X> beanType) |
| Modifier and Type | Method and Description |
|---|---|
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
|
public LifecycleAspectBeanFactory(AspectBeanFactory<X> next, InjectManager manager, AnnotatedType<X> beanType)
public boolean isProxy()
AspectBeanFactoryisProxy in interface AspectBeanFactory<X>public AnnotatedType<X> getBeanType()
AspectBeanFactorygetBeanType in interface AspectBeanFactory<X>public java.lang.String getBeanInstance()
AspectBeanFactorygetBeanInstance in interface AspectBeanFactory<X>public java.lang.String getInterceptorInstance()
AspectBeanFactorygetInterceptorInstance in interface AspectBeanFactory<X>public java.lang.String getBeanProxy()
getBeanProxy in interface AspectBeanFactory<X>public java.lang.String getBeanSuper()
AspectBeanFactorygetBeanSuper 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()
AspectBeanFactorygetHeadAspectFactory in interface AspectBeanFactory<X>public boolean isEnhanced()
AspectBeanFactoryisEnhanced in interface AspectBeanFactory<X>public AspectGenerator<X> create(AnnotatedMethod<? super X> method)
AspectBeanFactorycreate in interface AspectBeanFactory<X>public void generateEpilogue(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> map) throws java.io.IOException
AspectBeanFactorygenerateEpilogue in interface AspectBeanFactory<X>java.io.IOExceptionpublic void generateInject(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> map) throws java.io.IOException
AspectBeanFactorygenerateInject in interface AspectBeanFactory<X>java.io.IOExceptionpublic void generatePostConstruct(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> map) throws java.io.IOException
AspectBeanFactorygeneratePostConstruct in interface AspectBeanFactory<X>java.io.IOExceptionpublic void generatePreDestroy(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> hashMap) throws java.io.IOException
AspectBeanFactorygeneratePreDestroy in interface AspectBeanFactory<X>java.io.IOException