com.caucho.ejb.gen
Class TransactionChain
java.lang.Object
com.caucho.java.gen.CallChain
com.caucho.java.gen.FilterCallChain
com.caucho.ejb.gen.TransactionChain
public class TransactionChain
- extends FilterCallChain
Generates the skeleton for a method call.
|
Method Summary |
static TransactionChain |
create(CallChain next,
TransactionAttributeType xaType,
ApiMethod apiMethod,
ApiMethod implMethod)
|
static TransactionChain |
create(CallChain next,
TransactionAttributeType xaType,
ApiMethod apiMethod,
ApiMethod implMethod,
boolean isEJB3,
java.util.ArrayList<ApplicationExceptionConfig> appExceptions)
|
void |
generateCall(JavaWriter out,
java.lang.String retType,
java.lang.String var,
java.lang.String[] args)
Prints a call within the same JVM |
protected void |
generateExceptionHandling(JavaWriter out)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TransactionChain
public TransactionChain(CallChain next,
TransactionAttributeType xaType,
ApiMethod apiMethod,
ApiMethod implMethod)
TransactionChain
public TransactionChain(CallChain next,
TransactionAttributeType xaType,
ApiMethod apiMethod,
ApiMethod implMethod,
boolean isEJB3,
java.util.ArrayList<ApplicationExceptionConfig> appExceptions)
create
public static TransactionChain create(CallChain next,
TransactionAttributeType xaType,
ApiMethod apiMethod,
ApiMethod implMethod)
create
public static TransactionChain create(CallChain next,
TransactionAttributeType xaType,
ApiMethod apiMethod,
ApiMethod implMethod,
boolean isEJB3,
java.util.ArrayList<ApplicationExceptionConfig> appExceptions)
generateCall
public void generateCall(JavaWriter out,
java.lang.String retType,
java.lang.String var,
java.lang.String[] args)
throws java.io.IOException
- Prints a call within the same JVM
- Overrides:
generateCall in class FilterCallChain
- Parameters:
methodName - the name of the method to callmethod - the method to call
- Throws:
java.io.IOException
generateExceptionHandling
protected void generateExceptionHandling(JavaWriter out)
throws java.io.IOException
- Throws:
java.io.IOException