Other JTA Interfaces

JTA also includes the interfaces described in the next sections, which provide status and synchronization information and allow a transaction manager to work with resource managers.

NOTE

These interfaces are accessed by only the transaction manager.

The Status Interface

The Status interface (javax.transaction.Status) provides real-time transaction status. It enables you to specify the exact status of the transaction; for example, whether the transaction should be committed or rolled back.

The Synchronization Interface

The Synchronization interface (javax.transaction.Synchronization) provides notification with a registered listener before and after a transaction completes. You can register a transaction callback listener for ...

Get BEA WebLogic Server™ 8.1 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.