org.apache.openejb.core.transaction |
|
Java Source File Name | Type | Comment |
TransactionContainer.java | Interface | |
TransactionContext.java | Class | |
TransactionPolicy.java | Class | |
TransactionRolledbackException.java | Class | Subclass of javax.transaction.TransactionRolledbackException which adds init cause to the exception. |
TxMandatory.java | Class | 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. |
TxNever.java | Class | 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. |
TxNotSupported.java | Class | 17.6.2.1 NotSupported
The Container invokes an enterprise Bean method whose transaction attribute
is set to NotSupported with an unspecified transaction context.
If a client calls with a transaction context, the container suspends the
association of the transaction context with the current thread before
invoking the enterprise bean's business method. |
TxRequired.java | Class | 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.
If a client invokes the enterprise Bean's method while the client is
associated with a transaction context, the container invokes the enterprise
Bean's method in the client's transaction context.
If the client invokes the enterprise Bean's method while the client is not
associated with a transaction context, the container automatically starts a
new transaction before delegating a method call to the enterprise Bean
business method. |
TxRequiresNew.java | Class | 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.
If the client invokes the enterprise BeanÕs method while the client is not
associated with a transaction context, the container automatically starts a
new transaction before delegating a method call to the enterprise Bean
business method. |
TxSupports.java | Class | 17.6.2.3 Supports
The Container invokes an enterprise Bean method whose transaction attribute
is set to Supports as follows.
¥ If the client calls with a transaction context, the Container performs
the same steps as described in the Required case.
¥ If the client calls without a transaction context, the Container performs
the same steps as described in the NotSupported case.
The Supports transaction attribute must be used with caution. |