org.jencks.factory
Class BootstrapContextFactoryBean

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

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

A Spring FactoryBean for creating a BootstrapContext for the JCA container with the WorkManager and ExtendedTransactionManager.

Version:
$Revision: 1.3 $

Constructor Summary
BootstrapContextFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 int getDefaultTransactionTimeoutSeconds()
           
 Object getObject()
           
 Class getObjectType()
           
 org.apache.geronimo.gbean.ReferenceCollection getResourceManagers()
           
 int getThreadPoolSize()
           
 org.apache.geronimo.transaction.context.TransactionContextManager getTransactionContextManager()
           
 org.apache.geronimo.transaction.manager.TransactionLog getTransactionLog()
           
 org.apache.geronimo.transaction.ExtendedTransactionManager getTransactionManager()
           
 org.apache.geronimo.connector.work.GeronimoWorkManager getWorkManager()
           
 org.apache.geronimo.transaction.manager.XidImporter getXidImporter()
           
 boolean isSingleton()
           
 void setDefaultTransactionTimeoutSeconds(int defaultTransactionTimeoutSeconds)
           
 void setResourceManagers(org.apache.geronimo.gbean.ReferenceCollection resourceManagers)
           
 void setThreadPoolSize(int threadPoolSize)
           
 void setTransactionContextManager(org.apache.geronimo.transaction.context.TransactionContextManager transactionContextManager)
           
 void setTransactionLog(org.apache.geronimo.transaction.manager.TransactionLog transactionLog)
           
 void setTransactionManager(org.apache.geronimo.transaction.ExtendedTransactionManager transactionManager)
           
 void setWorkManager(org.apache.geronimo.connector.work.GeronimoWorkManager workManager)
           
 void setXidImporter(org.apache.geronimo.transaction.manager.XidImporter xidImporter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BootstrapContextFactoryBean

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

getWorkManager

public org.apache.geronimo.connector.work.GeronimoWorkManager getWorkManager()
                                                                      throws Exception
Throws:
Exception

setWorkManager

public void setWorkManager(org.apache.geronimo.connector.work.GeronimoWorkManager workManager)

getTransactionContextManager

public org.apache.geronimo.transaction.context.TransactionContextManager getTransactionContextManager()
                                                                                               throws XAException
Throws:
XAException

setTransactionContextManager

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

getThreadPoolSize

public int getThreadPoolSize()

setThreadPoolSize

public void setThreadPoolSize(int threadPoolSize)

getTransactionManager

public org.apache.geronimo.transaction.ExtendedTransactionManager getTransactionManager()
                                                                                 throws XAException
Throws:
XAException

setTransactionManager

public void setTransactionManager(org.apache.geronimo.transaction.ExtendedTransactionManager transactionManager)

getXidImporter

public org.apache.geronimo.transaction.manager.XidImporter getXidImporter()

setXidImporter

public void setXidImporter(org.apache.geronimo.transaction.manager.XidImporter xidImporter)

getDefaultTransactionTimeoutSeconds

public int getDefaultTransactionTimeoutSeconds()

setDefaultTransactionTimeoutSeconds

public void setDefaultTransactionTimeoutSeconds(int defaultTransactionTimeoutSeconds)

getTransactionLog

public org.apache.geronimo.transaction.manager.TransactionLog getTransactionLog()

setTransactionLog

public void setTransactionLog(org.apache.geronimo.transaction.manager.TransactionLog transactionLog)

getResourceManagers

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

setResourceManagers

public void setResourceManagers(org.apache.geronimo.gbean.ReferenceCollection resourceManagers)


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