|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
UMOTransactionConfig
defines transaction configuration for a
transactional endpoint.
Field Summary | |
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_JOIN_IF_POSSIBLE
If there is a transaction available, then use it, otherwise continue processing |
static byte |
ACTION_NONE
Whether there is a transaction available or not, ignore it |
Method Summary | |
byte |
getAction()
|
ConstraintFilter |
getConstraint()
|
UMOTransactionFactory |
getFactory()
|
int |
getTimeout()
|
boolean |
isTransacted()
|
void |
setAction(byte action)
|
void |
setConstraint(ConstraintFilter constraint)
|
void |
setFactory(UMOTransactionFactory factory)
|
void |
setTimeout(int timeout)
|
Field Detail |
public static final byte ACTION_NONE
public static final byte ACTION_ALWAYS_BEGIN
public static final byte ACTION_BEGIN_OR_JOIN
public static final byte ACTION_ALWAYS_JOIN
public static final byte ACTION_JOIN_IF_POSSIBLE
Method Detail |
public UMOTransactionFactory getFactory()
public void setFactory(UMOTransactionFactory factory)
public byte getAction()
public void setAction(byte action)
public boolean isTransacted()
public ConstraintFilter getConstraint()
public void setConstraint(ConstraintFilter constraint)
public void setTimeout(int timeout)
public int getTimeout()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |