Save This Page
Home » openejb-3.1.2-src » org.apache » openejb » core » stateful » [javadoc | source]
org.apache.openejb.core.stateful
public class: StatefulContainerManagedTxPolicy [javadoc | source]
org.apache.openejb.core.transaction.TransactionPolicy
   org.apache.openejb.core.stateful.StatefulContainerManagedTxPolicy
Wraps the TxPolicies for Stateful Session beans with container-managed transaction demarkation that do not implement the SessionSynchronization interface. The following method TxPolicies are wrapped regardless: TX_NEVER TX_NOT_SUPPORTED
Field Summary
protected  TransactionPolicy policy     
Constructor:
 public StatefulContainerManagedTxPolicy(TransactionPolicy policy) 
Method from org.apache.openejb.core.stateful.StatefulContainerManagedTxPolicy Summary:
afterInvoke,   beforeInvoke,   handleApplicationException,   handleSystemException,   policyToString
Methods from org.apache.openejb.core.transaction.TransactionPolicy:
commit,   enlistResource,   getResource,   getTransactionType,   isClientTransaction,   isNewTransaction,   isRollbackOnly,   isTransactionActive,   putResource,   registerSynchronization,   removeResource,   setRollbackOnly
Method from org.apache.openejb.core.stateful.StatefulContainerManagedTxPolicy Detail:
 public  void afterInvoke(Object instance,
    TransactionContext context) throws ApplicationException, SystemException 
 public  void beforeInvoke(Object instance,
    TransactionContext context) throws SystemException, ApplicationException 
 public  void handleApplicationException(Throwable appException,
    boolean rollback,
    TransactionContext context) throws ApplicationException, SystemException 
 public  void handleSystemException(Throwable sysException,
    Object instance,
    TransactionContext context) throws ApplicationException, SystemException 
 public String policyToString()