public class ResourceXmlApplicationContext extends org.springframework.context.support.AbstractXmlApplicationContext implements SpringApplicationContext
Resource as a parameter to load the application contextAPPLICATION_EVENT_MULTICASTER_BEAN_NAME, logger, MESSAGE_SOURCE_BEAN_NAMECONFIG_LOCATION_DELIMITERS, LOAD_TIME_WEAVER_BEAN_NAME| Constructor and Description |
|---|
ResourceXmlApplicationContext(org.springframework.core.io.Resource resource)
Creates a ResourceXmlApplicationContext which loads the configuration from the specified Resource.
|
ResourceXmlApplicationContext(org.springframework.core.io.Resource resource,
org.springframework.context.ApplicationContext parent) |
ResourceXmlApplicationContext(org.springframework.core.io.Resource resource,
List xmlPreprocessors)
Creates a ResourceXmlApplicationContext which loads the configuration from the specified Resource.
|
ResourceXmlApplicationContext(org.springframework.core.io.Resource resource,
List xmlPreprocessors,
org.springframework.context.ApplicationContext parent) |
ResourceXmlApplicationContext(org.springframework.core.io.Resource resource,
List xmlPreprocessors,
org.springframework.context.ApplicationContext parent,
List beanPostProcessors) |
ResourceXmlApplicationContext(org.springframework.core.io.Resource resource,
List xmlPreprocessors,
org.springframework.context.ApplicationContext parent,
List beanPostProcessors,
boolean refresh) |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
getConfigLocations() |
protected void |
loadBeanDefinitions(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory) |
protected void |
loadBeanDefinitions(org.springframework.beans.factory.xml.XmlBeanDefinitionReader reader) |
getConfigResources, initBeanDefinitionReaderafterPropertiesSet, getDefaultConfigLocations, resolvePath, setBeanName, setConfigLocation, setConfigLocations, setIdcloseBeanFactory, createBeanFactory, customizeBeanFactory, getBeanFactory, hasBeanFactory, refreshBeanFactory, setAllowBeanDefinitionOverriding, setAllowCircularReferencesaddApplicationListener, addBeanFactoryPostProcessor, addListener, cancelRefresh, close, containsBean, containsBeanDefinition, containsLocalBean, destroy, destroyBeans, doClose, finishBeanFactoryInitialization, finishRefresh, getAliases, getApplicationListeners, getAutowireCapableBeanFactory, getBean, getBean, getBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanFactoryPostProcessors, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getDisplayName, getId, getInternalParentBeanFactory, getInternalParentMessageSource, getMessage, getMessage, getMessage, getParent, getParentBeanFactory, getResourcePatternResolver, getResources, getStartupDate, getType, initApplicationEventMulticaster, initMessageSource, invokeBeanFactoryPostProcessors, isActive, isPrototype, isRunning, isSingleton, isTypeMatch, obtainFreshBeanFactory, onClose, onRefresh, postProcessBeanFactory, prepareBeanFactory, prepareRefresh, publishEvent, refresh, registerBeanPostProcessors, registerListeners, registerShutdownHook, setDisplayName, setParent, start, stop, toStringgetClassLoader, getResource, getResourceByPath, setClassLoaderclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetBeanFactoryPostProcessors, getClassLoader, setClassLoader, setDisplayNameaddApplicationListener, addBeanFactoryPostProcessor, close, getBeanFactory, isActive, refresh, registerShutdownHook, setParentgetAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDatecontainsBeanDefinition, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfTypecontainsLocalBean, getParentBeanFactorycontainsBean, getAliases, getBean, getBean, getBean, getType, isPrototype, isSingleton, isTypeMatchgetMessage, getMessage, getMessagepublic ResourceXmlApplicationContext(org.springframework.core.io.Resource resource)
resource - the resource from which the configuration is loadedpublic ResourceXmlApplicationContext(org.springframework.core.io.Resource resource,
List xmlPreprocessors)
resource - the resource from which the configuration is loadedxmlPreprocessors - the SpringXmlPreprocessors to apply before passing the xml to Spring for processingpublic ResourceXmlApplicationContext(org.springframework.core.io.Resource resource,
org.springframework.context.ApplicationContext parent)
public ResourceXmlApplicationContext(org.springframework.core.io.Resource resource,
List xmlPreprocessors,
org.springframework.context.ApplicationContext parent)
public ResourceXmlApplicationContext(org.springframework.core.io.Resource resource,
List xmlPreprocessors,
org.springframework.context.ApplicationContext parent,
List beanPostProcessors)
protected void loadBeanDefinitions(org.springframework.beans.factory.support.DefaultListableBeanFactory beanFactory)
throws IOException
loadBeanDefinitions in class org.springframework.context.support.AbstractXmlApplicationContextIOExceptionprotected void loadBeanDefinitions(org.springframework.beans.factory.xml.XmlBeanDefinitionReader reader)
throws org.springframework.beans.BeansException,
IOException
loadBeanDefinitions in class org.springframework.context.support.AbstractXmlApplicationContextorg.springframework.beans.BeansExceptionIOExceptionprotected String[] getConfigLocations()
getConfigLocations in class org.springframework.context.support.AbstractRefreshableConfigApplicationContextCopyright © 2005-2015 The Apache Software Foundation. All Rights Reserved.