org.jencks.factory
Class WorkManagerFactoryBean

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

public class WorkManagerFactoryBean
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.2 $

Constructor Summary
WorkManagerFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  org.apache.geronimo.transaction.context.TransactionContextManager createTransactionContextManager()
           
protected  org.apache.geronimo.connector.work.GeronimoWorkManager createWorkManager()
           
 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 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

WorkManagerFactoryBean

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

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)

createTransactionContextManager

protected org.apache.geronimo.transaction.context.TransactionContextManager createTransactionContextManager()
                                                                                                     throws XAException
Throws:
XAException

createWorkManager

protected org.apache.geronimo.connector.work.GeronimoWorkManager createWorkManager()
                                                                            throws XAException
Throws:
XAException


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