public class SakaiApplicationContext
extends org.springframework.context.support.GenericApplicationContext
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 |
|---|
SakaiApplicationContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
invokePostProcessorCreators(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
Add bean-created post processors.
|
protected void |
loadBeanDefinitions(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
protected void |
onRefresh()
Load initial beans before going through the default logic.
|
protected void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
Before post-processing, load beans which have declared that they want to add post-processors
dynamically.
|
protected void |
prepareBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
Load component manager configurations.
|
void |
setConfigLocations(String[] configLocations) |
void |
setInitialSingletonNames(String[] initialSingletonNames) |
cancelRefresh, closeBeanFactory, getAutowireCapableBeanFactory, getBeanDefinition, getBeanFactory, getClassLoader, getDefaultListableBeanFactory, getResource, getResources, isAlias, isBeanNameInUse, refreshBeanFactory, registerAlias, registerBeanDefinition, removeAlias, removeBeanDefinition, setAllowBeanDefinitionOverriding, setAllowCircularReferences, setClassLoader, setParent, setResourceLoaderaddApplicationListener, addBeanFactoryPostProcessor, assertBeanFactoryActive, close, containsBean, containsBeanDefinition, containsLocalBean, createEnvironment, destroy, destroyBeans, doClose, findAnnotationOnBean, finishBeanFactoryInitialization, finishRefresh, getAliases, getApplicationListeners, getApplicationName, getBean, getBean, getBean, getBean, getBean, getBeanDefinitionCount, getBeanDefinitionNames, getBeanFactoryPostProcessors, getBeanNamesForAnnotation, getBeanNamesForType, getBeanNamesForType, getBeanNamesForType, getBeansOfType, getBeansOfType, getBeansWithAnnotation, getDisplayName, getEnvironment, getId, getInternalParentBeanFactory, getInternalParentMessageSource, getMessage, getMessage, getMessage, getParent, getParentBeanFactory, getResourcePatternResolver, getStartupDate, getType, initApplicationEventMulticaster, initLifecycleProcessor, initMessageSource, initPropertySources, invokeBeanFactoryPostProcessors, isActive, isPrototype, isRunning, isSingleton, isTypeMatch, isTypeMatch, obtainFreshBeanFactory, onClose, prepareRefresh, publishEvent, publishEvent, publishEvent, refresh, registerBeanPostProcessors, registerListeners, registerShutdownHook, resetCommonCaches, setDisplayName, setEnvironment, setId, start, stop, toStringaddProtocolResolver, getProtocolResolvers, getResourceByPathclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected void prepareBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
prepareBeanFactory in class org.springframework.context.support.AbstractApplicationContextprotected void loadBeanDefinitions(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
throws IOException
IOExceptionprotected void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
postProcessBeanFactory in class org.springframework.context.support.AbstractApplicationContextprotected void onRefresh()
throws org.springframework.beans.BeansException
onRefresh in class org.springframework.context.support.AbstractApplicationContextorg.springframework.beans.BeansExceptionpublic void invokePostProcessorCreators(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
beanFactory - public void setInitialSingletonNames(String[] initialSingletonNames)
initialSingletonNames - initial configuration beans to load, behaving
as universal "dependsOn" targetspublic void setConfigLocations(String[] configLocations)
configLocations - file paths of XML bean definition files to load before refreshCopyright © 2003–2020 The Sakai Foundation. All rights reserved.