| java.lang.Object org.apache.openejb.core.transaction.TransactionPolicy
All known Subclasses: org.apache.openejb.core.transaction.TxNotSupported, org.apache.openejb.core.transaction.TxNever, org.apache.openejb.core.transaction.TxSupports, org.apache.openejb.core.stateful.SessionSynchronizationTxPolicy, org.apache.openejb.core.transaction.TxMandatory, org.apache.openejb.core.stateful.StatefulContainerManagedTxPolicy, org.apache.openejb.core.stateless.StatelessBeanManagedTxPolicy, org.apache.openejb.core.mdb.MessageDrivenBeanManagedTxPolicy, org.apache.openejb.core.transaction.TxRequiresNew, org.apache.openejb.core.transaction.TxRequired, org.apache.openejb.core.stateful.StatefulBeanManagedTxPolicy,
TransactionPolicy | abstract public class TransactionPolicy (Code) | | |
Inner Class :public static enum Type | |
Method Summary | |
abstract public void | afterInvoke(Object bean, TransactionContext context) | abstract public void | beforeInvoke(Object bean, TransactionContext context) | protected void | beginTransaction(TransactionContext context) | protected void | commitTransaction(TransactionContext context, Transaction tx) | protected void | discardBeanInstance(Object instance, ThreadContext callContext) | public TransactionContainer | getContainer() | public Type | getPolicyType() | abstract public void | handleApplicationException(Throwable appException, boolean rollback, TransactionContext context) | protected void | handleCallbackException() | abstract public void | handleSystemException(Throwable sysException, Object instance, TransactionContext context) | protected void | logSystemException(Throwable sysException, TransactionContext context) | protected void | markTxRollbackOnly(Transaction tx) | public String | policyToString() | protected void | resumeTransaction(TransactionContext context, Transaction tx) | protected void | rollbackTransaction(TransactionContext context, Transaction tx) | protected Transaction | suspendTransaction(TransactionContext context) | protected void | throwAppExceptionToServer(Throwable appException) | protected void | throwExceptionToServer(Throwable sysException) | protected void | throwTxExceptionToServer(Throwable sysException) |
beginTransaction | protected void beginTransaction(TransactionContext context) throws javax.transaction.SystemException(Code) | | |
getPolicyType | public Type getPolicyType()(Code) | | |
handleCallbackException | protected void handleCallbackException()(Code) | | |
|
|