Package | Description |
---|---|
org.mockejb |
Modifier and Type | Field and Description |
---|---|
static TransactionPolicy |
TransactionPolicy.MANDATORY |
static TransactionPolicy |
TransactionPolicy.NEVER |
static TransactionPolicy |
TransactionPolicy.NOT_SUPPORTED |
static TransactionPolicy |
TransactionPolicy.REQUIRED |
static TransactionPolicy |
TransactionPolicy.REQUIRED_NEW |
static TransactionPolicy |
TransactionPolicy.SUPPORTS |
Modifier and Type | Method and Description |
---|---|
TransactionPolicy |
TransactionManager.getPolicy()
Returns the currently set transaction policy.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
TransactionManager.handlePolicy(TransactionPolicy policy,
java.lang.Object targetObj,
java.lang.reflect.Method method,
java.lang.Object[] args)
Performs the actions necessary to handle the transaction policy
according to the spec.
|
void |
TransactionManager.setPolicy(TransactionPolicy policy)
Sets the transaction policy.
|
void |
MockEjbObject.setTransactionPolicy(TransactionPolicy policy)
Deprecated.
use TransactionManager with the AspectSystem to set transaction policies
|
Constructor and Description |
---|
TransactionManager(TransactionPolicy policy)
Creates a new instance of the
TransactionManager with the
given policy. |