org.kuali.rice.core.jta
Class TransactionManagerFactoryBean

java.lang.Object
  extended by 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)

Field Summary
private  TransactionManager defaultTransactionManager
           
private  org.springframework.jndi.JndiTemplate jndiTemplate
           
 
Constructor Summary
TransactionManagerFactoryBean()
           
 
Method Summary
 org.springframework.jndi.JndiTemplate getJndiTemplate()
           
 Object getObject()
           
 Class getObjectType()
           
 boolean isSingleton()
           
 void setDefaultTransactionManager(TransactionManager transactionManager)
           
 void setJndiTemplate(org.springframework.jndi.JndiTemplate jndiTemplate)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultTransactionManager

private TransactionManager defaultTransactionManager

jndiTemplate

private org.springframework.jndi.JndiTemplate jndiTemplate
Constructor Detail

TransactionManagerFactoryBean

public TransactionManagerFactoryBean()
Method Detail

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.