Save This Page
Home » spring-framework-2.5.5-with-dependencies » org.springframework » beans » factory » [javadoc | source]
org.springframework.beans.factory
public interface: HierarchicalBeanFactory [javadoc | source]

All Implemented Interfaces:
    BeanFactory

All Known Implementing Classes:
    DefaultListableBeanFactory, XmlWebApplicationContext, StaticApplicationContext, AbstractAutowireCapableBeanFactory, ClassPathXmlApplicationContext, GenericApplicationContext, AbstractXmlApplicationContext, ConfigurableBeanFactory, GenericWebApplicationContext, AbstractBeanFactory, ResourceAdapterApplicationContext, AbstractRefreshableWebApplicationContext, ConfigurableApplicationContext, FileSystemXmlApplicationContext, AbstractRefreshableConfigApplicationContext, WebApplicationContext, ConfigurableWebApplicationContext, StaticPortletApplicationContext, XmlBeanFactory, StaticWebApplicationContext, AbstractApplicationContext, AbstractRefreshableApplicationContext, AbstractRefreshablePortletApplicationContext, XmlPortletApplicationContext, ConfigurablePortletApplicationContext, ConfigurableListableBeanFactory, ApplicationContext

Sub-interface implemented by bean factories that can be part of a hierarchy.

The corresponding setParentBeanFactory method for bean factories that allow setting the parent in a configurable fashion can be found in the ConfigurableBeanFactory interface.

Method from org.springframework.beans.factory.HierarchicalBeanFactory Summary:
containsLocalBean,   getParentBeanFactory
Method from org.springframework.beans.factory.HierarchicalBeanFactory Detail:
 public boolean containsLocalBean(String name)
    Return whether the local bean factory contains a bean of the given name, ignoring beans defined in ancestor contexts.

    This is an alternative to containsBean, ignoring a bean of the given name from an ancestor bean factory.

 public BeanFactory getParentBeanFactory()
    Return the parent bean factory, or null if there is none.