| org.springframework.context.support.AbstractApplicationContext org.springframework.context.support.AbstractRefreshableApplicationContext org.springframework.context.support.AbstractXmlApplicationContext org.springframework.context.support.FileSystemXmlApplicationContext
FileSystemXmlApplicationContext | public FileSystemXmlApplicationContext(String configLocation) throws BeansException(Code) | | Create a new FileSystemXmlApplicationContext, loading the definitions
from the given XML file and automatically refreshing the context.
Parameters: configLocation - file path throws: BeansException - if context creation failed |
FileSystemXmlApplicationContext | public FileSystemXmlApplicationContext(String[] configLocations) throws BeansException(Code) | | Create a new FileSystemXmlApplicationContext, loading the definitions
from the given XML files and automatically refreshing the context.
Parameters: configLocations - array of file paths throws: BeansException - if context creation failed |
FileSystemXmlApplicationContext | public FileSystemXmlApplicationContext(String[] configLocations, ApplicationContext parent) throws BeansException(Code) | | Create a new FileSystemXmlApplicationContext with the given parent,
loading the definitions from the given XML files and automatically
refreshing the context.
Parameters: configLocations - array of file paths Parameters: parent - the parent context throws: BeansException - if context creation failed |
FileSystemXmlApplicationContext | public FileSystemXmlApplicationContext(String[] configLocations, boolean refresh) throws BeansException(Code) | | Create a new FileSystemXmlApplicationContext, loading the definitions
from the given XML files.
Parameters: configLocations - array of file paths Parameters: refresh - whether to automatically refresh the context,loading all bean definitions and creating all singletons.Alternatively, call refresh manually after further configuring the context. throws: BeansException - if context creation failed See Also: FileSystemXmlApplicationContext.refresh() |
FileSystemXmlApplicationContext | public FileSystemXmlApplicationContext(String[] configLocations, boolean refresh, ApplicationContext parent) throws BeansException(Code) | | Create a new FileSystemXmlApplicationContext with the given parent,
loading the definitions from the given XML files.
Parameters: configLocations - array of file paths Parameters: refresh - whether to automatically refresh the context,loading all bean definitions and creating all singletons.Alternatively, call refresh manually after further configuring the context. Parameters: parent - the parent context throws: BeansException - if context creation failed See Also: FileSystemXmlApplicationContext.refresh() |
getConfigLocations | protected String[] getConfigLocations()(Code) | | |
Methods inherited from org.springframework.context.support.AbstractApplicationContext | public void addApplicationListener(ApplicationListener listener)(Code)(Java Doc) public void addBeanFactoryPostProcessor(BeanFactoryPostProcessor beanFactoryPostProcessor)(Code)(Java Doc) protected void addListener(ApplicationListener listener)(Code)(Java Doc) public void close()(Code)(Java Doc) abstract protected void closeBeanFactory()(Code)(Java Doc) public boolean containsBean(String name)(Code)(Java Doc) public boolean containsBeanDefinition(String name)(Code)(Java Doc) public boolean containsLocalBean(String name)(Code)(Java Doc) public void destroy()(Code)(Java Doc) protected void destroyBeans()(Code)(Java Doc) protected void doClose()(Code)(Java Doc) public String[] getAliases(String name)(Code)(Java Doc) public List getApplicationListeners()(Code)(Java Doc) public AutowireCapableBeanFactory getAutowireCapableBeanFactory() throws IllegalStateException(Code)(Java Doc) public Object getBean(String name) throws BeansException(Code)(Java Doc) public Object getBean(String name, Class requiredType) throws BeansException(Code)(Java Doc) public int getBeanDefinitionCount()(Code)(Java Doc) public String[] getBeanDefinitionNames()(Code)(Java Doc) abstract public ConfigurableListableBeanFactory getBeanFactory() throws IllegalStateException(Code)(Java Doc) public List getBeanFactoryPostProcessors()(Code)(Java Doc) public String[] getBeanNamesForType(Class type)(Code)(Java Doc) public String[] getBeanNamesForType(Class type, boolean includePrototypes, boolean allowEagerInit)(Code)(Java Doc) public Map getBeansOfType(Class type) throws BeansException(Code)(Java Doc) public Map getBeansOfType(Class type, boolean includePrototypes, boolean allowEagerInit) throws BeansException(Code)(Java Doc) public String getDisplayName()(Code)(Java Doc) protected BeanFactory getInternalParentBeanFactory()(Code)(Java Doc) protected MessageSource getInternalParentMessageSource()(Code)(Java Doc) protected Collection getLifecycleBeans()(Code)(Java Doc) public String getMessage(String code, Object args, String defaultMessage, Locale locale)(Code)(Java Doc) public String getMessage(String code, Object args, Locale locale) throws NoSuchMessageException(Code)(Java Doc) public String getMessage(MessageSourceResolvable resolvable, Locale locale) throws NoSuchMessageException(Code)(Java Doc) public ApplicationContext getParent()(Code)(Java Doc) public BeanFactory getParentBeanFactory()(Code)(Java Doc) protected ResourcePatternResolver getResourcePatternResolver()(Code)(Java Doc) public Resource[] getResources(String locationPattern) throws IOException(Code)(Java Doc) public long getStartupDate()(Code)(Java Doc) public Class getType(String name) throws NoSuchBeanDefinitionException(Code)(Java Doc) protected void initApplicationEventMulticaster()(Code)(Java Doc) protected void initMessageSource()(Code)(Java Doc) protected void invokeBeanFactoryPostProcessors(ConfigurableListableBeanFactory beanFactory)(Code)(Java Doc) public boolean isActive()(Code)(Java Doc) public boolean isPrototype(String name) throws NoSuchBeanDefinitionException(Code)(Java Doc) public boolean isRunning()(Code)(Java Doc) public boolean isSingleton(String name) throws NoSuchBeanDefinitionException(Code)(Java Doc) public boolean isTypeMatch(String name, Class targetType) throws NoSuchBeanDefinitionException(Code)(Java Doc) protected ConfigurableListableBeanFactory obtainFreshBeanFactory()(Code)(Java Doc) protected void onClose()(Code)(Java Doc) protected void onRefresh() throws BeansException(Code)(Java Doc) protected void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory)(Code)(Java Doc) protected void prepareBeanFactory(ConfigurableListableBeanFactory beanFactory)(Code)(Java Doc) protected void prepareRefresh()(Code)(Java Doc) public void publishEvent(ApplicationEvent event)(Code)(Java Doc) public void refresh() throws BeansException, IllegalStateException(Code)(Java Doc) abstract protected void refreshBeanFactory() throws BeansException, IllegalStateException(Code)(Java Doc) protected void registerBeanPostProcessors(ConfigurableListableBeanFactory beanFactory)(Code)(Java Doc) protected void registerListeners()(Code)(Java Doc) public void registerShutdownHook()(Code)(Java Doc) public void setDisplayName(String displayName)(Code)(Java Doc) public void setParent(ApplicationContext parent)(Code)(Java Doc) public void start()(Code)(Java Doc) public void stop()(Code)(Java Doc) public String toString()(Code)(Java Doc)
|
|
|