org.mule.extras.jotm
Class JotmTransactionManagerFactory
java.lang.Object
org.mule.extras.jotm.JotmTransactionManagerFactory
- All Implemented Interfaces:
- UMOTransactionManagerFactory
public class JotmTransactionManagerFactory
- extends Object
- implements UMOTransactionManagerFactory
This factory retrieves the transaction manager for JOTM . If an existing JOTM instance exists
(for example if running on JOnAS) it will retrieve it, else if will create a new
local JOTM instance.
Method Summary |
TransactionManager |
create()
Retrieves the JOTM Current object that implements the TransactionManager
interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JotmTransactionManagerFactory
public JotmTransactionManagerFactory()
create
public TransactionManager create()
throws Exception
- Retrieves the JOTM Current object that implements the TransactionManager
interface.
- Specified by:
create
in interface UMOTransactionManagerFactory
- Returns:
- the transaction manager to use
- Throws:
Exception
- if the transaction manager cannot be located or created- See Also:
UMOTransactionManagerFactory.create()
Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.