| java.lang.Object org.apache.openejb.core.transaction.TransactionPolicy org.apache.openejb.core.transaction.TxNever
TxNever | public class TxNever extends TransactionPolicy (Code) | | 17.6.2.6 Never
The Container invokes an enterprise Bean method whose transaction attribute
is set to Never without a transaction context defined by the EJB spec.
The client is required to call without a transaction context.
¥ If the client calls with a transaction context, the Container throws the
java.rmi.RemoteException exception if the client is a remote client, or
the javax.ejb.EJBException if the client is a local client.
¥ If the client calls without a transaction context, the Container performs
the same steps as described in the NotSupported case.
|
Methods inherited from org.apache.openejb.core.transaction.TransactionPolicy | abstract public void afterInvoke(Object bean, TransactionContext context) throws ApplicationException, SystemException(Code)(Java Doc) abstract public void beforeInvoke(Object bean, TransactionContext context) throws SystemException, ApplicationException(Code)(Java Doc) protected void beginTransaction(TransactionContext context) throws javax.transaction.SystemException(Code)(Java Doc) protected void commitTransaction(TransactionContext context, Transaction tx) throws SystemException(Code)(Java Doc) protected void discardBeanInstance(Object instance, ThreadContext callContext)(Code)(Java Doc) public TransactionContainer getContainer()(Code)(Java Doc) public Type getPolicyType()(Code)(Java Doc) abstract public void handleApplicationException(Throwable appException, boolean rollback, TransactionContext context) throws ApplicationException, SystemException(Code)(Java Doc) protected void handleCallbackException()(Code)(Java Doc) abstract public void handleSystemException(Throwable sysException, Object instance, TransactionContext context) throws ApplicationException, SystemException(Code)(Java Doc) protected void logSystemException(Throwable sysException, TransactionContext context)(Code)(Java Doc) protected void markTxRollbackOnly(Transaction tx) throws SystemException(Code)(Java Doc) public String policyToString()(Code)(Java Doc) protected void resumeTransaction(TransactionContext context, Transaction tx) throws SystemException(Code)(Java Doc) protected void rollbackTransaction(TransactionContext context, Transaction tx) throws SystemException(Code)(Java Doc) protected Transaction suspendTransaction(TransactionContext context) throws SystemException(Code)(Java Doc) protected void throwAppExceptionToServer(Throwable appException) throws ApplicationException(Code)(Java Doc) protected void throwExceptionToServer(Throwable sysException) throws ApplicationException(Code)(Java Doc) protected void throwTxExceptionToServer(Throwable sysException) throws ApplicationException(Code)(Java Doc)
|
|
|