public interface SpringApplicationContext extends org.springframework.context.ConfigurableApplicationContext, org.springframework.beans.factory.DisposableBean, org.springframework.core.io.ResourceLoader
CONFIG_LOCATION_DELIMITERS, CONVERSION_SERVICE_BEAN_NAME, LOAD_TIME_WEAVER_BEAN_NAME, SYSTEM_ENVIRONMENT_BEAN_NAME, SYSTEM_PROPERTIES_BEAN_NAME
Modifier and Type | Method and Description |
---|---|
List |
getBeanFactoryPostProcessors()
Gets the list of BeanPostProcessors that will get applied
to beans created with this factory.
|
ClassLoader |
getClassLoader()
Return the ClassLoader to load class path resources with,
or
null if using the thread context class loader on actual access
(applying to the thread that does ClassPathResource calls). |
void |
setClassLoader(ClassLoader classLoader)
Specify the ClassLoader to load class path resources with,
or
null if using the thread context class loader on actual access
(applying to the thread that does ClassPathResource calls). |
void |
setDisplayName(String displayName)
Set a friendly name for this context.
|
addApplicationListener, addBeanFactoryPostProcessor, close, getBeanFactory, isActive, refresh, registerShutdownHook, setId, setParent
getAutowireCapableBeanFactory, getDisplayName, getId, getParent, getStartupDate
containsBeanDefinition, findAnnotationOnBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotation
containsLocalBean, getParentBeanFactory
containsBean, getAliases, getBean, getBean, getBean, getBean, getType, isPrototype, isSingleton, isTypeMatch
getMessage, getMessage, getMessage
void setDisplayName(String displayName)
displayName
- the display name for the contextList getBeanFactoryPostProcessors()
void setClassLoader(ClassLoader classLoader)
null
if using the thread context class loader on actual access
(applying to the thread that does ClassPathResource calls).
The default is that ClassLoader access will happen via the thread context class loader on actual access (applying to the thread that does ClassPathResource calls).
classLoader
- the ClassLoader to load class path resourcesClassLoader getClassLoader()
null
if using the thread context class loader on actual access
(applying to the thread that does ClassPathResource calls).
Will get passed to ClassPathResource's constructor for all ClassPathResource objects created by this resource loader.
getClassLoader
in interface org.springframework.core.io.ResourceLoader
ClassPathResource
Copyright © 2005–2014. All rights reserved.