|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JtaPlatform
Defines how we interact with various JTA services on the given platform/environment.
Method Summary | |
---|---|
boolean |
canRegisterSynchronization()
Can we currently register a Synchronization ? |
int |
getCurrentStatus()
Obtain the current transaction status using whatever means is preferred for this platform |
Object |
getTransactionIdentifier(Transaction transaction)
Determine an identifier for the given transaction appropriate for use in caching/lookup usages. |
void |
registerSynchronization(Synchronization synchronization)
Register a JTA Synchronization in the means defined by the platform. |
TransactionManager |
retrieveTransactionManager()
Locate the TransactionManager |
UserTransaction |
retrieveUserTransaction()
Locate the UserTransaction |
Method Detail |
---|
TransactionManager retrieveTransactionManager()
TransactionManager
TransactionManager
UserTransaction retrieveUserTransaction()
UserTransaction
UserTransaction
Object getTransactionIdentifier(Transaction transaction)
transaction
- The transaction to be identified.
boolean canRegisterSynchronization()
Synchronization
?
Synchronization
is currently allowed; false otherwise.void registerSynchronization(Synchronization synchronization)
Synchronization
in the means defined by the platform.
synchronization
- The synchronization to registerint getCurrentStatus() throws SystemException
SystemException
- Indicates a problem access the underlying status
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |