|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionServices
The container must implement the services related to transactional behavior used in JSR-299, if that behavior is going to be used.
The event framework specified by JSR-299 includes the ability to create observer methods which are activated based on the phase and status of a currently active transaction. In order to use these abilities, the container must provide these intermediary services which in turn may interact with an application server and JTA.
Nested Class Summary | |
---|---|
static class |
TransactionServices.Status
Possible status conditions for a transaction. |
Method Summary | |
---|---|
boolean |
isTransactionActive()
Queries the status of the current execution to see if a transaction is currently active. |
void |
registerSynchronization(javax.transaction.Synchronization synchronizedObserver)
Registers a synchronization object with the currently executing transaction. |
Method Detail |
---|
void registerSynchronization(javax.transaction.Synchronization synchronizedObserver)
synchronizedObserver
- Synchronization
boolean isTransactionActive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |