org.jencks
Class JCAContainer
java.lang.Object
org.jencks.JCAContainer
- All Implemented Interfaces:
- org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware
public class JCAContainer
- extends java.lang.Object
- implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.context.ApplicationContextAware
Represents a base JCA container which has no dependency on Geronimo
and requires a mandatory BootstrapContext
and ResourceAdapter
properties to be configured.
Typically Spring users will use the BootstrapContextFactoryBean
to create
the BootstrapContext
instance, with the work manager and transaction manager.
- Version:
- $Revision: 152 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JCAContainer
public JCAContainer()
addConnector
public JCAConnector addConnector()
afterPropertiesSet
public void afterPropertiesSet()
throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
destroy
public void destroy()
throws java.lang.Exception
- Specified by:
destroy
in interface org.springframework.beans.factory.DisposableBean
- Throws:
java.lang.Exception
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext()
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
- Specified by:
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
getResourceAdapter
public javax.resource.spi.ResourceAdapter getResourceAdapter()
setResourceAdapter
public void setResourceAdapter(javax.resource.spi.ResourceAdapter resourceAdapter)
getBootstrapContext
public javax.resource.spi.BootstrapContext getBootstrapContext()
setBootstrapContext
public void setBootstrapContext(javax.resource.spi.BootstrapContext bootstrapContext)
isLazyLoad
public boolean isLazyLoad()
setLazyLoad
public void setLazyLoad(boolean lazyLoad)
getTransactionManager
public org.apache.geronimo.transaction.manager.GeronimoTransactionManager getTransactionManager()
setTransactionManager
public void setTransactionManager(org.apache.geronimo.transaction.manager.GeronimoTransactionManager transactionManager)
getWorkManager
public javax.resource.spi.work.WorkManager getWorkManager()
setWorkManager
public void setWorkManager(javax.resource.spi.work.WorkManager workManager)
getThreadPoolSize
public int getThreadPoolSize()
setThreadPoolSize
public void setThreadPoolSize(int threadPoolSize)
Copyright © 2010 LogicBlaze, Inc.. All Rights Reserved.