@Module public class MessageXaCallChain<X> extends XaGenerator<X>
Constructor and Description |
---|
MessageXaCallChain(XaFactory<X> factory,
AnnotatedMethod<? super X> method,
AspectGenerator<X> next) |
Modifier and Type | Method and Description |
---|---|
void |
generatePreCall(JavaWriter out)
Generates the interceptor code after the try-block and before the call.
|
generateApplicationException, generateFinally, generateMethodPrologue, generatePostCall, generatePreTry, generateSystemException, getTransactionType
generate, generateAsync, generateBeanConstructor, generateBeanPrologue, generateCall, generateContent, generateDestroy, generateEpilogue, generateInject, generatePostConstruct, generatePostFinally, generatePreDestroy, generateProxyConstructor, getAnnotation, getAnnotation, getAnnotation, getBeanFactory, getBeanType, getFactory, getInstanceName, getJavaClass, getJavaMethod, getMethod, getThrowsExceptions, getTypeVariables, isApplicationExceptionThrown, toString
public MessageXaCallChain(XaFactory<X> factory, AnnotatedMethod<? super X> method, AspectGenerator<X> next)
public void generatePreCall(JavaWriter out) throws java.io.IOException
XaGenerator
retType myMethod(...)
{
try {
[pre-call]
retValue = super.myMethod(...);
}
generatePreCall
in interface AspectGenerator<X>
generatePreCall
in class XaGenerator<X>
java.io.IOException