org.jencks
Class JCAContainer

java.lang.Object
  extended byorg.jencks.JCAContainer
All Implemented Interfaces:
org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

public class JCAContainer
extends Object
implements org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.BeanFactoryAware

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: 1.1.1.1 $

Constructor Summary
JCAContainer()
           
 
Method Summary
 JCAConnector addConnector()
           
 void afterPropertiesSet()
           
 void destroy()
           
 org.springframework.beans.factory.BeanFactory getBeanFactory()
           
 BootstrapContext getBootstrapContext()
           
 ResourceAdapter getResourceAdapter()
           
 boolean isLazyLoad()
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 void setBootstrapContext(BootstrapContext bootstrapContext)
           
 void setLazyLoad(boolean lazyLoad)
           
 void setResourceAdapter(ResourceAdapter resourceAdapter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCAContainer

public JCAContainer()
Method Detail

addConnector

public JCAConnector addConnector()

afterPropertiesSet

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

destroy

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

getBeanFactory

public org.springframework.beans.factory.BeanFactory getBeanFactory()

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
                    throws org.springframework.beans.BeansException
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
Throws:
org.springframework.beans.BeansException

getResourceAdapter

public ResourceAdapter getResourceAdapter()

setResourceAdapter

public void setResourceAdapter(ResourceAdapter resourceAdapter)

getBootstrapContext

public BootstrapContext getBootstrapContext()

setBootstrapContext

public void setBootstrapContext(BootstrapContext bootstrapContext)

isLazyLoad

public boolean isLazyLoad()

setLazyLoad

public void setLazyLoad(boolean lazyLoad)


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