Home » Spring-Framework-090522 » org.springframework » beans » factory » [javadoc | source]
public interface: HierarchicalBeanFactory [javadoc | source]

All Implemented Interfaces:

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.