@NoImplement public interface TransactionConfig
TransactionConfig
defines transaction configuration for a transactional endpoint.Modifier and Type | Field and Description |
---|---|
static byte |
ACTION_ALWAYS_BEGIN
Will ensure that a new transaction is created for each invocation
|
static byte |
ACTION_ALWAYS_JOIN
There must always be a transaction present for the invocation
|
static byte |
ACTION_BEGIN_OR_JOIN
Will begin a new transaction if no transaction is already present
|
static byte |
ACTION_DEFAULT
Transaction action by default.
|
static byte |
ACTION_INDIFFERENT
Be indifferent to any active transaction.
|
static byte |
ACTION_JOIN_IF_POSSIBLE
If there is a transaction available, then use it, otherwise continue processing
|
static byte |
ACTION_NEVER
There must not be a transaction present for the invocation
|
static byte |
ACTION_NONE
Whether there is a transaction available or not, ignore it
|
static byte |
ACTION_NOT_SUPPORTED
Executes outside any existent transaction
|
Modifier and Type | Method and Description |
---|---|
byte |
getAction() |
TransactionFactory |
getFactory() |
int |
getTimeout() |
boolean |
isConfigured() |
boolean |
isInteractWithExternal() |
boolean |
isTransacted() |
void |
setAction(byte action) |
void |
setFactory(TransactionFactory factory) |
void |
setInteractWithExternal(boolean interactWithExternal) |
void |
setTimeout(int timeout) |
static final byte ACTION_NONE
J2EE: NotSupported
static final byte ACTION_ALWAYS_BEGIN
J2EE RequiresNew
static final byte ACTION_BEGIN_OR_JOIN
J2EE: Required
static final byte ACTION_ALWAYS_JOIN
J2EE: Mandatory
static final byte ACTION_JOIN_IF_POSSIBLE
J2EE: Supports
static final byte ACTION_NEVER
J2EE Never
static final byte ACTION_INDIFFERENT
static final byte ACTION_NOT_SUPPORTED
static final byte ACTION_DEFAULT
TransactionFactory getFactory()
void setFactory(TransactionFactory factory)
byte getAction()
void setAction(byte action)
boolean isTransacted()
void setTimeout(int timeout)
int getTimeout()
boolean isInteractWithExternal()
void setInteractWithExternal(boolean interactWithExternal)
boolean isConfigured()
Copyright © 2018. All rights reserved.