public class TransactionManagerFactoryBean extends Object implements org.springframework.beans.factory.FactoryBean<TransactionManager>
TransactionManager
, if
necessary (and possible). This allows for transparent and interchangeable use of PlatformTransactionManager and
TransactionManagerConstructor and Description |
---|
TransactionManagerFactoryBean() |
Modifier and Type | Method and Description |
---|---|
TransactionManager |
getObject() |
Class<?> |
getObjectType() |
boolean |
isSingleton() |
void |
setTransactionManager(Object transactionManager)
Sets the actual transaction manager.
|
public TransactionManager getObject()
getObject
in interface org.springframework.beans.factory.FactoryBean<TransactionManager>
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<TransactionManager>
public boolean isSingleton()
isSingleton
in interface org.springframework.beans.factory.FactoryBean<TransactionManager>
public void setTransactionManager(Object transactionManager)
transactionManager
- The actual transaction managerCopyright © 2010–2020. All rights reserved.