org.jencks.factory
Class BootstrapContextFactoryBean

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

public class BootstrapContextFactoryBean
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 GeronimoBootstrapContext for the JCA container with the WorkManager and XATerminator.

Version:
$Revision: 171 $

Constructor Summary
BootstrapContextFactoryBean()
           
 
Method Summary
 void afterPropertiesSet()
           
 void destroy()
           
 java.lang.Object getObject()
           
 java.lang.Class<?> getObjectType()
           
 int getThreadPoolSize()
           
 org.apache.geronimo.transaction.manager.GeronimoTransactionManager getTransactionManager()
           
 javax.resource.spi.work.WorkManager getWorkManager()
           
 boolean isSingleton()
           
 void setThreadPoolSize(int threadPoolSize)
           
 void setTransactionManager(org.apache.geronimo.transaction.manager.GeronimoTransactionManager transactionManager)
           
 void setWorkManager(javax.resource.spi.work.WorkManager workManager)
           
 
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 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

getWorkManager

public javax.resource.spi.work.WorkManager getWorkManager()

setWorkManager

public void setWorkManager(javax.resource.spi.work.WorkManager workManager)

getTransactionManager

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

setTransactionManager

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

getThreadPoolSize

public int getThreadPoolSize()

setThreadPoolSize

public void setThreadPoolSize(int threadPoolSize)


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