org.jencks.factory
Class WorkManagerFactoryBean

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

public class WorkManagerFactoryBean
extends java.lang.Object
implements org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean

A Spring FactoryBean for creating a GeronimoWorkManager using a GeronimoTransactionManager.

Version:
$Revision: 171 $

Constructor Summary
WorkManagerFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 java.lang.Object getObject()
           
 java.lang.Class<?> getObjectType()
           
 java.util.concurrent.Executor getThreadPool()
           
 int getThreadPoolSize()
           
 org.apache.geronimo.transaction.manager.GeronimoTransactionManager getTransactionManager()
           
 boolean isSingleton()
           
 void setThreadPool(java.util.concurrent.Executor threadPool)
           
 void setThreadPoolSize(int threadPoolSize)
           
 void setTransactionManager(org.apache.geronimo.transaction.manager.GeronimoTransactionManager transactionManager)
           
 
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 java.lang.Object getObject()
                           throws java.lang.Exception
Specified by:
getObject in interface org.springframework.beans.factory.FactoryBean
Throws:
java.lang.Exception

getObjectType

public java.lang.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

destroy

public void destroy()
             throws java.lang.Exception
Specified by:
destroy in interface org.springframework.beans.factory.DisposableBean
Throws:
java.lang.Exception

afterPropertiesSet

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

getTransactionManager

public org.apache.geronimo.transaction.manager.GeronimoTransactionManager getTransactionManager()

setTransactionManager

public void setTransactionManager(org.apache.geronimo.transaction.manager.GeronimoTransactionManager transactionManager)

getThreadPool

public java.util.concurrent.Executor getThreadPool()

setThreadPool

public void setThreadPool(java.util.concurrent.Executor threadPool)

getThreadPoolSize

public int getThreadPoolSize()

setThreadPoolSize

public void setThreadPoolSize(int threadPoolSize)


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