|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use TransactionPolicy | |
|---|---|
| org.apache.openejb.core | |
| org.apache.openejb.core.entity | |
| org.apache.openejb.core.transaction | |
| Uses of TransactionPolicy in org.apache.openejb.core |
|---|
| Methods in org.apache.openejb.core that return TransactionPolicy | |
|---|---|
TransactionPolicy |
ThreadContext.getTransactionPolicy()
|
| Methods in org.apache.openejb.core with parameters of type TransactionPolicy | |
|---|---|
void |
ThreadContext.setTransactionPolicy(TransactionPolicy transactionPolicy)
|
| Uses of TransactionPolicy in org.apache.openejb.core.entity |
|---|
| Constructors in org.apache.openejb.core.entity with parameters of type TransactionPolicy | |
|---|---|
EntityInstanceManager.SynchronizationWrapper(BeanContext beanContext,
Object primaryKey,
javax.ejb.EntityBean bean,
boolean available,
org.apache.openejb.core.entity.EntityInstanceManager.Key readyPoolKey,
TransactionPolicy txPolicy)
|
|
| Uses of TransactionPolicy in org.apache.openejb.core.transaction |
|---|
| Subinterfaces of TransactionPolicy in org.apache.openejb.core.transaction | |
|---|---|
interface |
BeanTransactionPolicy
BeanTransactionPolicy is an extension to the TransactionPolicy which provides operations for controlling a JEE bean managed transaction. |
| Classes in org.apache.openejb.core.transaction that implement TransactionPolicy | |
|---|---|
class |
JtaTransactionPolicy
|
class |
TxBeanManaged
|
class |
TxMandatory
17.6.2.5 Mandatory The Container must invoke an enterprise Bean method whose transaction attribute is set to Mandatory in a client's transaction context. |
class |
TxNever
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. |
class |
TxNotSupported
17.6.2.1 NotSupported The Container invokes an enterprise Bean method whose transaction attribute is set to NotSupported with an unspecified transaction context. |
class |
TxRequired
17.6.2.2 Required The Container must invoke an enterprise Bean method whose transaction attribute is set to Required with a valid transaction context. |
class |
TxRequiresNew
17.6.2.4 RequiresNew The Container must invoke an enterprise Bean method whose transaction attribute is set to RequiresNew with a new transaction context. |
class |
TxSupports
17.6.2.3 Supports The Container invokes an enterprise Bean method whose transaction attribute is set to Supports as follows. |
| Methods in org.apache.openejb.core.transaction that return TransactionPolicy | |
|---|---|
TransactionPolicy |
TransactionPolicyFactory.createTransactionPolicy(TransactionType type)
Creates and begins a TransactionPolicy for the specified TransactionType. |
TransactionPolicy |
JtaTransactionPolicyFactory.createTransactionPolicy(TransactionType type)
|
static TransactionPolicy |
EjbTransactionUtil.createTransactionPolicy(TransactionType type,
ThreadContext threadContext)
Creates a new TransctionPolicy of the specified type and associates it with the specified ThreadContext. |
| Methods in org.apache.openejb.core.transaction with parameters of type TransactionPolicy | |
|---|---|
static void |
EjbTransactionUtil.afterInvoke(TransactionPolicy txPolicy,
ThreadContext threadContext)
Completes the specified TransactionPolicy and disassociates it from the specified ThreadContext. |
static void |
EjbTransactionUtil.handleApplicationException(TransactionPolicy txPolicy,
Throwable appException,
boolean rollback)
Performs EJB rules when an application exception occurs. |
static void |
EjbTransactionUtil.handleSystemException(TransactionPolicy txPolicy,
Throwable sysException,
ThreadContext callContext)
Performs EJB rules when a system exception occurs. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||