Class TransactionManagerService

java.lang.Object
com.arjuna.ats.jbossatx.jta.TransactionManagerService
All Implemented Interfaces:
TransactionManagerServiceMBean
Direct Known Subclasses:
TransactionManagerService

public class TransactionManagerService extends Object implements TransactionManagerServiceMBean
JBoss Transaction Manager Service. Should be configured via deploy/transaction-jboss-beans.xml
Version:
$Id: TransactionManagerService.java,v 1.5 2005/06/24 15:24:15 kconner Exp $
Author:
Richard A. Begg (richard.begg@arjuna.com)
  • Field Details

    • mode

      protected String mode
  • Constructor Details

    • TransactionManagerService

      public TransactionManagerService()
  • Method Details

    • create

      public void create()
    • destroy

      public void destroy()
    • start

      public void start()
    • stop

      public void stop()
    • getTransactionManager

      public jakarta.transaction.TransactionManager getTransactionManager()
      Retrieve a reference to the JTA transaction manager.
      Specified by:
      getTransactionManager in interface TransactionManagerServiceMBean
      Returns:
      A reference to the JTA transaction manager.
    • getTransactionSynchronizationRegistry

      public jakarta.transaction.TransactionSynchronizationRegistry getTransactionSynchronizationRegistry()
      Retrieve a reference ot the JTA TransactionSynchronizationRegistry.
      Specified by:
      getTransactionSynchronizationRegistry in interface TransactionManagerServiceMBean
      Returns:
      a reference to the JTA TransactionSynchronizationRegistry.
    • setTransactionSynchronizationRegistry

      public void setTransactionSynchronizationRegistry(jakarta.transaction.TransactionSynchronizationRegistry transactionSynchronizationRegistry)
    • getXATerminator

      public org.jboss.tm.JBossXATerminator getXATerminator()
      Deprecated.
      use getJbossXATerminator instead
      Get the XA Terminator
      Specified by:
      getXATerminator in interface TransactionManagerServiceMBean
      Returns:
      the XA Terminator
    • getJbossXATerminator

      public org.jboss.tm.JBossXATerminator getJbossXATerminator()
    • setJbossXATerminator

      public void setJbossXATerminator(org.jboss.tm.JBossXATerminator jbossXATerminator)
    • getUserTransaction

      public jakarta.transaction.UserTransaction getUserTransaction()
      Retrieve a reference to the JTA user transaction manager.
      Specified by:
      getUserTransaction in interface TransactionManagerServiceMBean
      Returns:
      A reference to the JTA user transaction manager.
    • registerXAExceptionFormatter

      @Deprecated public void registerXAExceptionFormatter(Class c, org.jboss.tm.XAExceptionFormatter f)
      Deprecated.
      This method has been put in here so that it is compatible with the JBoss standard Transaction Manager. As we do not support exception formatters just display a warning for the moment.
      Specified by:
      registerXAExceptionFormatter in interface TransactionManagerServiceMBean
    • unregisterXAExceptionFormatter

      public void unregisterXAExceptionFormatter(Class c)
      This method has been put in here so that it is compatible with the JBoss standard Transaction Manager. As we do not support exception formatters just display a warning for the moment.
      Specified by:
      unregisterXAExceptionFormatter in interface TransactionManagerServiceMBean