public class SpringTransactionFactory extends Object implements TransactionFactory
Modifier and Type | Class and Description |
---|---|
class |
SpringTransactionFactory.SpringTransaction
TODO: document this class
|
Constructor and Description |
---|
SpringTransactionFactory() |
Modifier and Type | Method and Description |
---|---|
Transaction |
beginTransaction(MuleContext muleContext)
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) |
public Transaction beginTransaction(MuleContext muleContext) throws TransactionException
TransactionFactory
beginTransaction
in interface TransactionFactory
TransactionException
- if the transaction cannot be created or begunpublic boolean isTransacted()
TransactionFactory
isTransacted
in interface TransactionFactory
public org.springframework.transaction.PlatformTransactionManager getManager()
public void setManager(org.springframework.transaction.PlatformTransactionManager manager)
manager
- The manager to set.Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.