| org.springframework.context.support.AbstractApplicationContext org.springframework.context.support.GenericApplicationContext
All known Subclasses: org.springframework.context.support.StaticApplicationContext, org.springframework.web.context.support.GenericWebApplicationContext,
closeBeanFactory | final protected void closeBeanFactory()(Code) | | Do nothing: We hold a single internal BeanFactory that will never
get released.
|
getDefaultListableBeanFactory | final public DefaultListableBeanFactory getDefaultListableBeanFactory()(Code) | | Return the underlying bean factory of this context,
available for registering bean definitions.
NOTE: You need to call
GenericApplicationContext.refresh() to initialize the
bean factory and its contained beans with application context semantics
(autodetecting BeanFactoryPostProcessors, etc).
the internal bean factory (as DefaultListableBeanFactory) |
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)
|
|
|