|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The interface reflects an interrogable transaction. Using its methods, it is possible to get information on the corresponding transaction.
| Field Summary | |
static int |
STATUS_ABORTED
Transaction has been aborted. |
static int |
STATUS_ABORTING
The abort method of the transaction was invoked and
the transaction is now in the process of aborting. |
static int |
STATUS_ACTIVE
Transaction has been started and is still active. |
static int |
STATUS_COMMITTED
Transaction has been committed. |
static int |
STATUS_COMMITTING
The commit method of the transaction was invoked and
the transaction is now in the process of committing. |
static int |
STATUS_NO_TRANSACTION
Transaction has not been started yet. |
| Method Summary | |
java.lang.String |
getName()
Get transaction name. |
int |
getStatus()
Get transaction status. |
int |
getTimeout()
Get transaction timeout. |
| Field Detail |
public static final int STATUS_NO_TRANSACTION
public static final int STATUS_ACTIVE
public static final int STATUS_COMMITTING
commit method of the transaction was invoked and
the transaction is now in the process of committing.
public static final int STATUS_ABORTING
abort method of the transaction was invoked and
the transaction is now in the process of aborting.
public static final int STATUS_COMMITTED
public static final int STATUS_ABORTED
| Method Detail |
public int getStatus()
public java.lang.String getName()
public int getTimeout()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||