org.jencks.factory
Class TransactionContextManagerFactoryBean

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

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

This FactoryBean creates and configures the TransactionManagerContext of Geronimo.

Author:
Thierry Templier
See Also:
UnrecoverableLog, HOWLLog

Constructor Summary
TransactionContextManagerFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
          This method initializes the transaction context manager basing on the Geronimo implementation of the transaction manager and a dedicated transaction log.
 Object getObject()
           
 Class getObjectType()
           
 org.apache.geronimo.transaction.manager.TransactionManagerImpl getTransactionManagerImpl()
           
 boolean isSingleton()
           
 void setTransactionManagerImpl(org.apache.geronimo.transaction.manager.TransactionManagerImpl transactionManagerImpl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionContextManagerFactoryBean

public TransactionContextManagerFactoryBean()
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

getTransactionManagerImpl

public org.apache.geronimo.transaction.manager.TransactionManagerImpl getTransactionManagerImpl()

setTransactionManagerImpl

public void setTransactionManagerImpl(org.apache.geronimo.transaction.manager.TransactionManagerImpl transactionManagerImpl)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
This method initializes the transaction context manager basing on the Geronimo implementation of the transaction manager and a dedicated transaction log.

It specifies too an unspecified transaction context for the transaction context manager instanciated.

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


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