org.jencks.factory
Class BootstrapContextFactoryBean
java.lang.Object
org.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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BootstrapContextFactoryBean
public BootstrapContextFactoryBean()
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.