org.mule.extras.spring.transaction
Class SpringTransactionFactory

java.lang.Object
  extended byorg.mule.extras.spring.transaction.SpringTransactionFactory
All Implemented Interfaces:
UMOTransactionFactory

public class SpringTransactionFactory
extends Object
implements UMOTransactionFactory

TODO: document this class


Nested Class Summary
 class SpringTransactionFactory.SpringTransaction
          TODO: document this class
 
Constructor Summary
SpringTransactionFactory()
           
 
Method Summary
 UMOTransaction beginTransaction()
          Create and begins a new transaction
 org.springframework.transaction.PlatformTransactionManager getManager()
           
 boolean isTransacted()
          Determines whether this transaction factory creates transactions that are really transacted or if they are being used to simulate batch actions, such as using Jms Client Acknowledge.
 void setManager(org.springframework.transaction.PlatformTransactionManager manager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringTransactionFactory

public SpringTransactionFactory()
Method Detail

beginTransaction

public UMOTransaction beginTransaction()
                                throws TransactionException
Description copied from interface: UMOTransactionFactory
Create and begins a new transaction

Specified by:
beginTransaction in interface UMOTransactionFactory
Returns:
a new Transaction
Throws:
TransactionException - if the transaction cannot be created or begun

isTransacted

public boolean isTransacted()
Description copied from interface: UMOTransactionFactory
Determines whether this transaction factory creates transactions that are really transacted or if they are being used to simulate batch actions, such as using Jms Client Acknowledge.

Specified by:
isTransacted in interface UMOTransactionFactory
Returns:

getManager

public org.springframework.transaction.PlatformTransactionManager getManager()
Returns:
Returns the manager.

setManager

public void setManager(org.springframework.transaction.PlatformTransactionManager manager)
Parameters:
manager - The manager to set.


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