org.mule.module.spring.transaction
Class SpringTransactionManagerFactory

java.lang.Object
  extended by org.mule.module.spring.transaction.SpringTransactionManagerFactory
All Implemented Interfaces:
TransactionManagerFactory

public class SpringTransactionManagerFactory
extends java.lang.Object
implements TransactionManagerFactory

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


Constructor Summary
SpringTransactionManagerFactory()
           
 
Method Summary
 javax.transaction.TransactionManager create(MuleConfiguration config)
          Creates of obtains the jta transaction manager to use for mule transactions
 void setTransactionManager(javax.transaction.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(javax.transaction.TransactionManager transactionManager)

create

public javax.transaction.TransactionManager create(MuleConfiguration config)
                                            throws java.lang.Exception
Description copied from interface: TransactionManagerFactory
Creates of obtains the jta transaction manager to use for mule transactions

Specified by:
create in interface TransactionManagerFactory
Parameters:
config - Mule configuration parameters
Returns:
the transaction manager to use
Throws:
java.lang.Exception - if the transaction manager cannot be located or created


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.