Class GlassfishTransactionController

All Implemented Interfaces:
ExternalTransactionController

public class GlassfishTransactionController extends JTATransactionController

Purpose: TransactionController implementation for Glassfish JTA

Description: Implements the required behavior for controlling JTA transactions in Glassfish. The JTA TransactionManager must be set on the instance.

See Also:
  • Constructor Details

    • GlassfishTransactionController

      public GlassfishTransactionController()
  • Method Details

    • acquireTransactionManager

      protected jakarta.transaction.TransactionManager acquireTransactionManager() throws Exception
      INTERNAL: Obtain and return the JTA TransactionManager on this platform
      Overrides:
      acquireTransactionManager in class JTATransactionController
      Returns:
      The TransactionManager for the transaction system
      Throws:
      Exception