public interface TransactionManager
Modifier and Type | Field and Description |
---|---|
static int |
STATUS_ACTIVE
Transaction is Active
|
static int |
STATUS_COMMITTED
Completion status in case of proper commit
|
static int |
STATUS_NO_TRANSACTION
No existing transaction is associated with this threat
|
static int |
STATUS_ROLLEDBACK
Completion status in case of proper rollback
|
static int |
STATUS_UNKNOWN
Completion status in case of heuristic mixed completion or system errors
|
Modifier and Type | Method and Description |
---|---|
boolean |
begin() |
void |
commit(boolean transactionOwner) |
Object |
getResource(Object key) |
int |
getStatus() |
void |
putResource(Object key,
Object resource) |
void |
registerTransactionSynchronization(TransactionSynchronization ts) |
void |
rollback(boolean transactionOwner) |
static final int STATUS_COMMITTED
static final int STATUS_ROLLEDBACK
static final int STATUS_UNKNOWN
static final int STATUS_NO_TRANSACTION
static final int STATUS_ACTIVE
int getStatus()
boolean begin()
void commit(boolean transactionOwner)
void rollback(boolean transactionOwner)
void registerTransactionSynchronization(TransactionSynchronization ts)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.