org.jencks.factory
Class TransactionManagerFactoryBean

java.lang.Object
  extended byorg.jencks.factory.TransactionManagerFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class TransactionManagerFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

This FactoryBean creates and configures the Geronimo implementation of the TransactionManager interface.

Author:
Thierry Templier
See Also:
UnrecoverableLog, HOWLLog

Constructor Summary
TransactionManagerFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 Object getObject()
           
 Class getObjectType()
           
 org.apache.geronimo.gbean.ReferenceCollection getResourceManagers()
           
 boolean isSingleton()
           
 void setDefaultTransactionTimeoutSeconds(int timeout)
          Set the default transaction timeout in second.
 void setResourceManagers(org.apache.geronimo.gbean.ReferenceCollection resourceManagers)
          Set the resource managers
 void setTransactionLog(org.apache.geronimo.transaction.manager.TransactionLog log)
          Set the transaction log for the transaction context manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

setDefaultTransactionTimeoutSeconds

public void setDefaultTransactionTimeoutSeconds(int timeout)
Set the default transaction timeout in second.


setTransactionLog

public void setTransactionLog(org.apache.geronimo.transaction.manager.TransactionLog log)
Set the transaction log for the transaction context manager.


getResourceManagers

public org.apache.geronimo.gbean.ReferenceCollection getResourceManagers()

setResourceManagers

public void setResourceManagers(org.apache.geronimo.gbean.ReferenceCollection resourceManagers)
Set the resource managers


afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2005 LogicBlaze, Inc.. All Rights Reserved.