org.jencks
Class JCAContainer

java.lang.Object
  extended by org.jencks.JCAContainer
All Implemented Interfaces:
org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware

public class JCAContainer
extends 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: 1.2 $

Constructor Summary
JCAContainer()
           
 
Method Summary
 JCAConnector addConnector()
           
 void afterPropertiesSet()
           
 void destroy()
           
 org.springframework.context.ApplicationContext getApplicationContext()
           
 BootstrapContext getBootstrapContext()
           
 ResourceAdapter getResourceAdapter()
           
 boolean isLazyLoad()
           
 void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
           
 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

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 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.