@Module public class LifecycleMethodHeadGenerator<X> extends MethodHeadGenerator<X>
Constructor and Description |
---|
LifecycleMethodHeadGenerator(LifecycleMethodHeadFactory<X> factory,
AnnotatedMethod<? super X> method,
AspectGenerator<X> next) |
Modifier and Type | Method and Description |
---|---|
void |
generatePostConstruct(JavaWriter out,
java.util.HashMap<java.lang.String,java.lang.Object> map)
Generates @PostConstruct code
|
java.lang.String |
getMethodName() |
protected java.lang.String |
getMethodNamePrefix() |
protected boolean |
isOverride() |
equals, generate, hashCode
generateApplicationException, generateAsync, generateBeanConstructor, generateBeanPrologue, generateCall, generateContent, generateDestroy, generateEpilogue, generateFinally, generateInject, generateMethodPrologue, generatePostCall, generatePostFinally, generatePreCall, generatePreDestroy, generatePreTry, generateProxyConstructor, generateSystemException, getAnnotation, getAnnotation, getAnnotation, getBeanFactory, getBeanType, getFactory, getInstanceName, getJavaClass, getJavaMethod, getMethod, getThrowsExceptions, getTypeVariables, isApplicationExceptionThrown, toString
public LifecycleMethodHeadGenerator(LifecycleMethodHeadFactory<X> factory, AnnotatedMethod<? super X> method, AspectGenerator<X> next)
protected java.lang.String getMethodNamePrefix()
getMethodNamePrefix
in class MethodHeadGenerator<X>
public java.lang.String getMethodName()
getMethodName
in class MethodHeadGenerator<X>
protected boolean isOverride()
isOverride
in class MethodHeadGenerator<X>
public void generatePostConstruct(JavaWriter out, java.util.HashMap<java.lang.String,java.lang.Object> map) throws java.io.IOException
AbstractAspectGenerator
generatePostConstruct
in interface AspectGenerator<X>
generatePostConstruct
in class AbstractAspectGenerator<X>
java.io.IOException