@Module public interface AspectBeanFactory<X>
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()
Returns the beanInfo variable for shared bean instance information
|
java.lang.String |
getBeanInstance()
Returns the bean instance Java reference.
|
java.lang.String |
getBeanProxy()
Returns the proxy Java reference.
|
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 instance class 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
|
AnnotatedType<X> getBeanType()
AspectFactory<X> getHeadAspectFactory()
java.lang.String getGeneratedClassName()
java.lang.String getInstanceClassName()
boolean isProxy()
java.lang.String getBeanInstance()
java.lang.String getInterceptorInstance()
java.lang.String getBeanSuper()
java.lang.String getBeanProxy()
java.lang.String getBeanInfo()
AspectGenerator<X> create(AnnotatedMethod<? super X> method)
void generateInject(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> hashMap) throws java.io.IOException
java.io.IOException
void generatePostConstruct(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> hashMap) throws java.io.IOException
java.io.IOException
void generatePreDestroy(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> hashMap) throws java.io.IOException
java.io.IOException
void generateEpilogue(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> hashMap) throws java.io.IOException
java.io.IOException
boolean isEnhanced()