org.mule.extras.spring.transaction
Class SpringTransactionManagerFactory

java.lang.Object
  extended byorg.mule.extras.spring.transaction.SpringTransactionManagerFactory
All Implemented Interfaces:
UMOTransactionManagerFactory

public class SpringTransactionManagerFactory
extends Object
implements UMOTransactionManagerFactory

A holder to a transaction manager set via a Spring Application context


Constructor Summary
SpringTransactionManagerFactory()
           
 
Method Summary
 TransactionManager create()
          Creates of obtains the jta transaction manager to use for mule transactions
 void setTransactionManager(TransactionManager transactionManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringTransactionManagerFactory

public SpringTransactionManagerFactory()
Method Detail

setTransactionManager

public void setTransactionManager(TransactionManager transactionManager)

create

public TransactionManager create()
                          throws Exception
Description copied from interface: UMOTransactionManagerFactory
Creates of obtains the jta transaction manager to use for mule transactions

Specified by:
create in interface UMOTransactionManagerFactory
Returns:
the transaction manager to use
Throws:
Exception - if the transaction manager cannot be located or created


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.