|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.openejb.core.transaction.EjbTransactionUtil
public final class EjbTransactionUtil
Method Summary | |
---|---|
static void |
afterInvoke(TransactionPolicy txPolicy,
ThreadContext threadContext)
Completes the specified TransactionPolicy and disassociates it from the specified ThreadContext. |
static TransactionPolicy |
createTransactionPolicy(TransactionType type,
ThreadContext threadContext)
Creates a new TransctionPolicy of the specified type and associates it with the specified ThreadContext. |
static void |
handleApplicationException(TransactionPolicy txPolicy,
java.lang.Throwable appException,
boolean rollback)
Performs EJB rules when an application exception occurs. |
static void |
handleSystemException(TransactionPolicy txPolicy,
java.lang.Throwable sysException,
ThreadContext callContext)
Performs EJB rules when a system exception occurs. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TransactionPolicy createTransactionPolicy(TransactionType type, ThreadContext threadContext) throws SystemException, ApplicationException
SystemException
ApplicationException
public static void afterInvoke(TransactionPolicy txPolicy, ThreadContext threadContext) throws SystemException, ApplicationException
SystemException
ApplicationException
public static void handleApplicationException(TransactionPolicy txPolicy, java.lang.Throwable appException, boolean rollback) throws ApplicationException
ApplicationException
public static void handleSystemException(TransactionPolicy txPolicy, java.lang.Throwable sysException, ThreadContext callContext) throws InvalidateReferenceException
InvalidateReferenceException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |