public class MuleApplicationContext
extends org.springframework.context.support.AbstractXmlApplicationContext
MuleApplicationContext is a simple extension application context
that allows resources to be loaded from the Classpath of file system using the
MuleBeanDefinitionReader.| Modifier and Type | Field and Description |
|---|---|
static String |
LEGACY_BEAN_READER_CLASS |
APPLICATION_EVENT_MULTICASTER_BEAN_NAME, LIFECYCLE_PROCESSOR_BEAN_NAME, logger, MESSAGE_SOURCE_BEAN_NAMECONFIG_LOCATION_DELIMITERS, CONVERSION_SERVICE_BEAN_NAME, ENVIRONMENT_BEAN_NAME, LOAD_TIME_WEAVER_BEAN_NAME, SYSTEM_ENVIRONMENT_BEAN_NAME, SYSTEM_PROPERTIES_BEAN_NAME| Constructor and Description |
|---|
MuleApplicationContext(MuleContext muleContext,
Registry registry,
ConfigResource[] configResources)
Parses configuration files creating a spring ApplicationContext which is used
as a parent registry using the SpringRegistry registry implementation to wraps
the spring ApplicationContext
|
MuleApplicationContext(MuleContext muleContext,
Registry registry,
ConfigResource[] configResources,
org.springframework.context.ApplicationContext parent)
Parses configuration files creating a spring ApplicationContext which is used
as a parent registry using the SpringRegistry registry implementation to wraps
the spring ApplicationContext
|
MuleApplicationContext(MuleContext muleContext,
Registry registry,
ConfigResource[] configResources,
boolean refresh) |
MuleApplicationContext(MuleContext muleContext,
Registry registry,
org.springframework.core.io.Resource[] configResources) |
MuleApplicationContext(MuleContext muleContext,
Registry registry,
org.springframework.core.io.Resource[] springResources,
org.springframework.context.ApplicationContext parent) |
MuleApplicationContext(MuleContext muleContext,
Registry registry,
org.springframework.core.io.Resource[] springResources,
boolean refresh) |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.beans.factory.support.DefaultListableBeanFactory |
createBeanFactory() |
protected org.springframework.core.io.Resource[] |
getConfigResources() |
protected void |
loadBeanDefinitions(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory) |
protected void |
prepareBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
protected void |
setupParentSpringRegistry(Registry registry)
Sets up TransientRegistry SpringRegistry parent relationship here.
|
initBeanDefinitionReader, loadBeanDefinitions, setValidatingafterPropertiesSet, getConfigLocations, getDefaultConfigLocations, resolvePath, setBeanName, setConfigLocation, setConfigLocations, setIdcancelRefresh, closeBeanFactory, customizeBeanFactory, getBeanFactory, hasBeanFactory, refreshBeanFactory, setAllowBeanDefinitionOverriding, setAllowCircularReferencesaddApplicationListener, addBeanFactoryPostProcessor, addListener, close, containsBean, containsBeanDefinition, containsLocalBean, createEnvironment, destroy, destroyBeans, doClose, findAnnotationOnBean, finishBeanFactoryInitialization, finishRefresh, getAliases, getApplicationListeners, getAutowireCapableBeanFactory, getBean, getBean, getBean, getBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanFactoryPostProcessors, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotation, getDisplayName, getEnvironment, getId, getInternalParentBeanFactory, getInternalParentMessageSource, getMessage, getMessage, getMessage, getParent, getParentBeanFactory, getResourcePatternResolver, getResources, getStartupDate, getType, initApplicationEventMulticaster, initLifecycleProcessor, initMessageSource, initPropertySources, invokeBeanFactoryPostProcessors, isActive, isPrototype, isRunning, isSingleton, isTypeMatch, obtainFreshBeanFactory, onClose, onRefresh, postProcessBeanFactory, prepareRefresh, publishEvent, refresh, registerBeanPostProcessors, registerListeners, registerShutdownHook, setDisplayName, setEnvironment, setParent, start, stop, toStringgetClassLoader, getResource, getResourceByPath, setClassLoaderpublic static final String LEGACY_BEAN_READER_CLASS
public MuleApplicationContext(MuleContext muleContext, Registry registry, ConfigResource[] configResources)
registry - configResources - SpringRegistrypublic MuleApplicationContext(MuleContext muleContext, Registry registry, ConfigResource[] configResources, org.springframework.context.ApplicationContext parent)
registry - configLocations - parent - SpringRegistrypublic MuleApplicationContext(MuleContext muleContext, Registry registry, org.springframework.core.io.Resource[] configResources)
registry - configLocations - public MuleApplicationContext(MuleContext muleContext, Registry registry, ConfigResource[] configResources, boolean refresh) throws org.springframework.beans.BeansException
registry - configResources - refresh - org.springframework.beans.BeansExceptionpublic MuleApplicationContext(MuleContext muleContext, Registry registry, org.springframework.core.io.Resource[] springResources, org.springframework.context.ApplicationContext parent) throws IOException
registry - configLocations - parent - IOExceptionpublic MuleApplicationContext(MuleContext muleContext, Registry registry, org.springframework.core.io.Resource[] springResources, boolean refresh) throws org.springframework.beans.BeansException
registry - configLocations - refresh - org.springframework.beans.BeansExceptionprotected void setupParentSpringRegistry(Registry registry)
registry - protected void prepareBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
prepareBeanFactory in class org.springframework.context.support.AbstractApplicationContextprotected org.springframework.core.io.Resource[] getConfigResources()
getConfigResources in class org.springframework.context.support.AbstractXmlApplicationContextprotected void loadBeanDefinitions(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory)
throws IOException
loadBeanDefinitions in class org.springframework.context.support.AbstractXmlApplicationContextIOExceptionprotected org.springframework.beans.factory.support.DefaultListableBeanFactory createBeanFactory()
createBeanFactory in class org.springframework.context.support.AbstractRefreshableApplicationContextCopyright © 2003-2012 MuleSource, Inc.. All Rights Reserved.