org.jencks.factory
Class GeronimoTransactionManagerFactoryBean

java.lang.Object
  extended by org.jencks.factory.GeronimoTransactionManagerFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class GeronimoTransactionManagerFactoryBean
extends Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

This FactoryBean creates and configures the Geronimo implementation of the UserTransaction and TransactionManager interfaces.

This factory is based on the Geronimo Transaction Context Manager.

Version:
$Revision: 1.2 $
Author:
Guillaume Nodet
See Also:
GeronimoTransactionManager

Constructor Summary
GeronimoTransactionManagerFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 Object getObject()
           
 Class getObjectType()
           
 org.apache.geronimo.transaction.context.TransactionContextManager getTransactionContextManager()
           
 boolean isSingleton()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 void setTransactionContextManager(org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeronimoTransactionManagerFactoryBean

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

afterPropertiesSet

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

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware

getTransactionContextManager

public org.apache.geronimo.transaction.context.TransactionContextManager getTransactionContextManager()

setTransactionContextManager

public void setTransactionContextManager(org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager)


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