Package com.arjuna.ats.jbossatx.jta
Class TransactionManagerService
java.lang.Object
com.arjuna.ats.jbossatx.jta.TransactionManagerService
- All Implemented Interfaces:
TransactionManagerServiceMBean
- Direct Known Subclasses:
TransactionManagerService
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 Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
create()
void
destroy()
org.jboss.tm.JBossXATerminator
jakarta.transaction.TransactionManager
Retrieve a reference to the JTA transaction manager.jakarta.transaction.TransactionSynchronizationRegistry
Retrieve a reference ot the JTA TransactionSynchronizationRegistry.jakarta.transaction.UserTransaction
Retrieve a reference to the JTA user transaction manager.org.jboss.tm.JBossXATerminator
Deprecated.use getJbossXATerminator insteadvoid
registerXAExceptionFormatter
(Class c, org.jboss.tm.XAExceptionFormatter f) Deprecated.void
setJbossXATerminator
(org.jboss.tm.JBossXATerminator jbossXATerminator) void
setTransactionSynchronizationRegistry
(jakarta.transaction.TransactionSynchronizationRegistry transactionSynchronizationRegistry) void
start()
void
stop()
void
This method has been put in here so that it is compatible with the JBoss standard Transaction Manager.
-
Field Details
-
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 interfaceTransactionManagerServiceMBean
- 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 interfaceTransactionManagerServiceMBean
- 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 insteadGet the XA Terminator- Specified by:
getXATerminator
in interfaceTransactionManagerServiceMBean
- 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 interfaceTransactionManagerServiceMBean
- Returns:
- A reference to the JTA user transaction manager.
-
registerXAExceptionFormatter
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 interfaceTransactionManagerServiceMBean
-
unregisterXAExceptionFormatter
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 interfaceTransactionManagerServiceMBean
-