| |
|
| org.springframework.context.support.AbstractApplicationContext org.springframework.context.support.AbstractRefreshableApplicationContext org.springframework.context.support.AbstractXmlApplicationContext
All known Subclasses: org.springframework.context.support.ClassPathXmlApplicationContext, org.springframework.context.support.FileSystemXmlApplicationContext,
AbstractXmlApplicationContext | public AbstractXmlApplicationContext()(Code) | | Create a new AbstractXmlApplicationContext with no parent.
|
AbstractXmlApplicationContext | public AbstractXmlApplicationContext(ApplicationContext parent)(Code) | | Create a new AbstractXmlApplicationContext with the given parent context.
Parameters: parent - the parent context |
getConfigLocations | protected String[] getConfigLocations()(Code) | | Return an array of resource locations, referring to the XML bean definition
files that this context should be built with. Can also include location
patterns, which will get resolved via a ResourcePatternResolver.
The default implementation returns null . Subclasses can override
this to provide a set of resource locations to load bean definitions from.
an array of resource locations, or null if none See Also: AbstractXmlApplicationContext.getResources See Also: AbstractXmlApplicationContext.getResourcePatternResolver |
getConfigResources | protected Resource[] getConfigResources()(Code) | | Return an array of Resource objects, referring to the XML bean definition
files that this context should be built with.
The default implementation returns null . Subclasses can override
this to provide pre-built Resource objects rather than location Strings.
an array of Resource objects, or null if none See Also: AbstractXmlApplicationContext.getConfigLocations() |
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)
|
|
|
|