@Module public class NonBusinessAspectBeanFactory<X> extends java.lang.Object implements AspectBeanFactory<X>
Constructor and Description |
---|
NonBusinessAspectBeanFactory(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> hashMap)
Generates final closing information.
|
void |
generateInject(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> hashMap)
Generates final closing information.
|
void |
generatePostConstruct(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> hashMap)
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()
Generates the underlying bean object
|
java.lang.String |
getBeanProxy()
Generates the proxy object.
|
java.lang.String |
getBeanSuper()
Returns the bean super reference.
|
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()
Generates the underlying bean object
|
boolean |
isEnhanced()
Returns true if the factory forces enhancement.
|
boolean |
isProxy()
Returns true for a proxied instance
|
public NonBusinessAspectBeanFactory(AnnotatedType<X> beanType)
public AnnotatedType<X> getBeanType()
AspectBeanFactory
getBeanType
in interface AspectBeanFactory<X>
public AspectFactory<X> getHeadAspectFactory()
getHeadAspectFactory
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 boolean isProxy()
AspectBeanFactory
isProxy
in interface AspectBeanFactory<X>
public java.lang.String getBeanInstance()
getBeanInstance
in interface AspectBeanFactory<X>
public java.lang.String getInterceptorInstance()
getInterceptorInstance
in interface AspectBeanFactory<X>
public java.lang.String getBeanSuper()
getBeanSuper
in interface AspectBeanFactory<X>
public java.lang.String getBeanProxy()
getBeanProxy
in interface AspectBeanFactory<X>
public java.lang.String getBeanInfo()
getBeanInfo
in interface AspectBeanFactory<X>
public AspectGenerator<X> create(AnnotatedMethod<? super X> method)
AspectBeanFactory
create
in interface AspectBeanFactory<X>
public void generateInject(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> hashMap)
AspectBeanFactory
generateInject
in interface AspectBeanFactory<X>
public void generatePostConstruct(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> hashMap)
AspectBeanFactory
generatePostConstruct
in interface AspectBeanFactory<X>
public void generatePreDestroy(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> hashMap)
AspectBeanFactory
generatePreDestroy
in interface AspectBeanFactory<X>
public void generateEpilogue(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> hashMap)
AspectBeanFactory
generateEpilogue
in interface AspectBeanFactory<X>
public boolean isEnhanced()
AspectBeanFactory
isEnhanced
in interface AspectBeanFactory<X>