public class MuleTransactionManagerFactoryBean extends org.springframework.beans.factory.config.AbstractFactoryBean<TransactionManager> implements MuleContextAware
Creates a reference to the TransactionManager configured on the MuleContext. This is useful when you need to inject the TransactionManager into other objects such as XA data Sources.
In order to use this factory bean you must have a transaction manager configured
in the context i.e.
Constructor and Description |
---|
MuleTransactionManagerFactoryBean() |
Modifier and Type | Method and Description |
---|---|
protected TransactionManager |
createInstance() |
Class<?> |
getObjectType() |
void |
setMuleContext(MuleContext context) |
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<TransactionManager>
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean<TransactionManager>
protected TransactionManager createInstance() throws Exception
createInstance
in class org.springframework.beans.factory.config.AbstractFactoryBean<TransactionManager>
Exception
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.