org.mule.extras.jotm
Class JotmTransactionManagerFactory

java.lang.Object
  extended byorg.mule.extras.jotm.JotmTransactionManagerFactory
All Implemented Interfaces:
UMOTransactionManagerFactory

public class JotmTransactionManagerFactory
extends java.lang.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.

Version:
$Revision: 1.2 $
Author:
Guillaume Nodet

Constructor Summary
JotmTransactionManagerFactory()
           
 
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
 

Constructor Detail

JotmTransactionManagerFactory

public JotmTransactionManagerFactory()
Method Detail

create

public TransactionManager create()
                          throws java.lang.Exception
Retrieves the JOTM Current object that implements the TransactionManager interface.

Specified by:
create in interface UMOTransactionManagerFactory
Returns:
the transaction manager to use
Throws:
java.lang.Exception - if the transaction manager cannot be located or created
See Also:
UMOTransactionManagerFactory.create()


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.