|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mule.extras.spring.SpringContainerContext
SpringContainerContext
is a Spring Context that can expose spring-managed
components for use in the Mule framework.
Field Summary | |
protected BeanFactory |
beanFactory
the application contect to use when resolving components |
protected java.lang.String |
configFile
|
protected BeanFactory |
externalBeanFactory
|
protected static Log |
logger
logger used by this class |
Constructor Summary | |
SpringContainerContext()
|
Method Summary | |
void |
configure(java.io.Reader configuration,
java.util.Map configurationProperties)
|
BeanFactory |
getBeanFactory()
The spring application context used to build components |
java.lang.Object |
getComponent(java.lang.Object key)
|
java.lang.String |
getConfigFile()
|
void |
setBeanFactory(BeanFactory beanFactory)
Sets the spring application context used to build components |
void |
setConfigFile(java.lang.String configFile)
|
void |
setExternalBeanFactory(BeanFactory factory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static transient Log logger
protected BeanFactory beanFactory
protected BeanFactory externalBeanFactory
protected java.lang.String configFile
Constructor Detail |
public SpringContainerContext()
Method Detail |
public void setBeanFactory(BeanFactory beanFactory)
beanFactory
- the context to usepublic void setExternalBeanFactory(BeanFactory factory)
public BeanFactory getBeanFactory()
public java.lang.Object getComponent(java.lang.Object key) throws ComponentNotFoundException
getComponent
in interface UMOContainerContext
ComponentNotFoundException
public java.lang.String getConfigFile()
public void setConfigFile(java.lang.String configFile) throws ConfigurationException
configFile
- The configFile to set.
ConfigurationException
public void configure(java.io.Reader configuration, java.util.Map configurationProperties) throws ComponentResolverException
configure
in interface UMOContainerContext
ComponentResolverException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |