org.kuali.rice.core.jta
Class TransactionManagerFactoryBean
java.lang.Object
org.kuali.rice.core.jta.TransactionManagerFactoryBean
- All Implemented Interfaces:
- org.springframework.beans.factory.FactoryBean
public class TransactionManagerFactoryBean
- extends Object
- implements org.springframework.beans.factory.FactoryBean
Factory bean that supplies a TransactionManager object from the the current context
(i.e. plugin, embedding webapp) Config object map if defined therein (under the Config.TRANSACTION_MANAGER_OBJ key),
from JNDI if Config#TRANSACTION_MANAGER_JNDI
is defined,
or from a default declaratively assigned in containing bean factory.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
defaultTransactionManager
private TransactionManager defaultTransactionManager
jndiTemplate
private org.springframework.jndi.JndiTemplate jndiTemplate
TransactionManagerFactoryBean
public TransactionManagerFactoryBean()
getObject
public Object getObject()
throws Exception
- Specified by:
getObject
in interface org.springframework.beans.factory.FactoryBean
- Throws:
Exception
getObjectType
public Class getObjectType()
- Specified by:
getObjectType
in interface org.springframework.beans.factory.FactoryBean
isSingleton
public boolean isSingleton()
- Specified by:
isSingleton
in interface org.springframework.beans.factory.FactoryBean
setDefaultTransactionManager
public void setDefaultTransactionManager(TransactionManager transactionManager)
getJndiTemplate
public org.springframework.jndi.JndiTemplate getJndiTemplate()
setJndiTemplate
public void setJndiTemplate(org.springframework.jndi.JndiTemplate jndiTemplate)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.