|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.caucho.config.gen.AbstractAspectGenerator<X>
com.caucho.config.gen.XaGenerator<X>
com.caucho.ejb.gen.MessageXaCallChain<X>
@Module public class MessageXaCallChain<X>
Represents the xa interception
Constructor Summary | |
---|---|
MessageXaCallChain(XaFactory<X> factory,
AnnotatedMethod<? super X> method,
AspectGenerator<X> next)
|
Method Summary | |
---|---|
void |
generatePreCall(JavaWriter out)
Generates the interceptor code after the try-block and before the call. |
Methods inherited from class com.caucho.config.gen.XaGenerator |
---|
generateApplicationException, generateFinally, generateMethodPrologue, generatePostCall, generatePreTry, generateSystemException, getTransactionType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MessageXaCallChain(XaFactory<X> factory, AnnotatedMethod<? super X> method, AspectGenerator<X> next)
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |