|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.mule.impl.container.AbstractContainerContext
org.mule.extras.spring.SpringContainerContext
SpringContainerContext is a Spring Context that can expose
spring-managed components for use in the Mule framework.
| Field Summary | |
protected org.springframework.beans.factory.BeanFactory |
beanFactory
the application context to use when resolving components |
protected String |
configResources
One or more Spring XML config files |
protected String |
configXml
The Spring XML itself |
protected org.springframework.beans.factory.BeanFactory |
externalBeanFactory
|
static String |
SPRING_DOCTYPE_REF
|
| Fields inherited from class org.mule.impl.container.AbstractContainerContext |
logger |
| Constructor Summary | |
SpringContainerContext()
|
|
| Method Summary | |
void |
configure(Reader reader)
|
void |
dispose()
|
org.springframework.beans.factory.BeanFactory |
getBeanFactory()
The spring application context used to build components |
Object |
getComponent(Object key)
|
String |
getConfigFile()
Deprecated. use getConfigResources() instead |
String |
getConfigResources()
One or more Spring XML config files |
String |
getConfiguration()
Deprecated. use getConfigXml() instead |
String |
getConfigXml()
The Spring XML itself |
void |
initialise()
|
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
Sets the spring application context used to build components |
void |
setConfigFile(String configFile)
Deprecated. use setConfigResources() instead |
void |
setConfigResources(String configResources)
One or more Spring XML config files |
void |
setConfiguration(String configuration)
Deprecated. use setConfigXml() instead |
void |
setConfigXml(String configXml)
The Spring XML itself |
void |
setExternalBeanFactory(org.springframework.beans.factory.BeanFactory factory)
|
| Methods inherited from class org.mule.impl.container.AbstractContainerContext |
configure, getDefaultDocType, getDefaultEncoding, getName, getXmlDeclaration, setName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final String SPRING_DOCTYPE_REF
protected org.springframework.beans.factory.BeanFactory beanFactory
protected org.springframework.beans.factory.BeanFactory externalBeanFactory
protected String configResources
protected String configXml
| Constructor Detail |
public SpringContainerContext()
| Method Detail |
public Object getComponent(Object key)
throws org.mule.umo.manager.ObjectNotFoundException
getComponent in interface org.mule.umo.manager.UMOContainerContextorg.mule.umo.manager.ObjectNotFoundException
public void configure(Reader reader)
throws org.mule.umo.manager.ContainerException
org.mule.umo.manager.ContainerException
public void initialise()
throws org.mule.umo.lifecycle.InitialisationException
initialise in interface org.mule.umo.lifecycle.Initialisableorg.mule.umo.lifecycle.InitialisationExceptionpublic void dispose()
dispose in interface org.mule.umo.lifecycle.Disposablepublic org.springframework.beans.factory.BeanFactory getBeanFactory()
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwarebeanFactory - the context to usepublic void setExternalBeanFactory(org.springframework.beans.factory.BeanFactory factory)
public String getConfigXml()
public void setConfigXml(String configXml)
public String getConfiguration()
public void setConfiguration(String configuration)
public String getConfigResources()
public void setConfigResources(String configResources)
public String getConfigFile()
public void setConfigFile(String configFile)
throws org.mule.config.ConfigurationException
org.mule.config.ConfigurationException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||