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
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)
-
-
Constructor Summary
Constructors Constructor Description TransactionManagerService()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidcreate()voiddestroy()org.jboss.tm.JBossXATerminatorgetJbossXATerminator()TransactionManagergetTransactionManager()Retrieve a reference to the JTA transaction manager.TransactionSynchronizationRegistrygetTransactionSynchronizationRegistry()Retrieve a reference ot the JTA TransactionSynchronizationRegistry.UserTransactiongetUserTransaction()Retrieve a reference to the JTA user transaction manager.org.jboss.tm.JBossXATerminatorgetXATerminator()Deprecated.use getJbossXATerminator insteadvoidregisterXAExceptionFormatter(Class c, org.jboss.tm.XAExceptionFormatter f)This method has been put in here so that it is compatible with the JBoss standard Transaction Manager.voidsetJbossXATerminator(org.jboss.tm.JBossXATerminator jbossXATerminator)voidsetTransactionSynchronizationRegistry(TransactionSynchronizationRegistry transactionSynchronizationRegistry)voidstart()voidstop()voidunregisterXAExceptionFormatter(Class c)This method has been put in here so that it is compatible with the JBoss standard Transaction Manager.
-
-
-
Field Detail
-
mode
protected String mode
-
-
Method Detail
-
create
public void create()
-
destroy
public void destroy()
-
start
public void start()
-
stop
public void stop()
-
getTransactionManager
public TransactionManager getTransactionManager()
Retrieve a reference to the JTA transaction manager.- Specified by:
getTransactionManagerin interfaceTransactionManagerServiceMBean- Returns:
- A reference to the JTA transaction manager.
-
getTransactionSynchronizationRegistry
public TransactionSynchronizationRegistry getTransactionSynchronizationRegistry()
Retrieve a reference ot the JTA TransactionSynchronizationRegistry.- Specified by:
getTransactionSynchronizationRegistryin interfaceTransactionManagerServiceMBean- Returns:
- a reference to the JTA TransactionSynchronizationRegistry.
-
setTransactionSynchronizationRegistry
public void setTransactionSynchronizationRegistry(TransactionSynchronizationRegistry transactionSynchronizationRegistry)
-
getXATerminator
public org.jboss.tm.JBossXATerminator getXATerminator()
Deprecated.use getJbossXATerminator insteadGet the XA Terminator- Specified by:
getXATerminatorin interfaceTransactionManagerServiceMBean- Returns:
- the XA Terminator
-
getJbossXATerminator
public org.jboss.tm.JBossXATerminator getJbossXATerminator()
-
setJbossXATerminator
public void setJbossXATerminator(org.jboss.tm.JBossXATerminator jbossXATerminator)
-
getUserTransaction
public UserTransaction getUserTransaction()
Retrieve a reference to the JTA user transaction manager.- Specified by:
getUserTransactionin interfaceTransactionManagerServiceMBean- Returns:
- A reference to the JTA user transaction manager.
-
registerXAExceptionFormatter
public void registerXAExceptionFormatter(Class c, org.jboss.tm.XAExceptionFormatter f)
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:
registerXAExceptionFormatterin interfaceTransactionManagerServiceMBean
-
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:
unregisterXAExceptionFormatterin interfaceTransactionManagerServiceMBean
-
-