@Module public interface AspectFactory<X>
Modifier and Type | Method and Description |
---|---|
AspectGenerator<X> |
create(AnnotatedMethod<? super X> method,
boolean isEnhanced)
Returns an aspect for the method if one exists.
|
void |
generateEpilogue(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map) |
void |
generateInject(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map) |
void |
generatePostConstruct(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map) |
void |
generatePreDestroy(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map) |
AspectBeanFactory<X> |
getAspectBeanFactory()
Returns the owning AspectBeanFactory
|
AnnotatedType<X> |
getBeanType()
Returns the bean type.
|
boolean |
isEnhanced() |
AspectBeanFactory<X> getAspectBeanFactory()
AnnotatedType<X> getBeanType()
boolean isEnhanced()
AspectGenerator<X> create(AnnotatedMethod<? super X> method, boolean isEnhanced)
void generateInject(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> map) throws java.io.IOException
java.io.IOException
void generatePostConstruct(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> map) throws java.io.IOException
java.io.IOException
void generatePreDestroy(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> map) throws java.io.IOException
java.io.IOException
void generateEpilogue(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> map) throws java.io.IOException
java.io.IOException