org.springframework.beans.factory
Interface HierarchicalBeanFactory

All Superinterfaces:
BeanFactory
All Known Subinterfaces:
ApplicationContext, ConfigurableApplicationContext, ConfigurableBeanFactory, ConfigurableListableBeanFactory, ConfigurableWebApplicationContext, WebApplicationContext
All Known Implementing Classes:
AbstractApplicationContext, AbstractBeanFactory, DefaultListableBeanFactory, StaticWebApplicationContext, XmlWebApplicationContext

public interface HierarchicalBeanFactory
extends BeanFactory

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.

Since:
07-Jul-2003
Version:
$Id: HierarchicalBeanFactory.java,v 1.3 2004/03/18 02:46:07 trisberg Exp $
Author:
Rod Johnson
See Also:
ConfigurableBeanFactory.setParentBeanFactory(org.springframework.beans.factory.BeanFactory)

Method Summary
 BeanFactory getParentBeanFactory()
          Return the parent bean factory, or null if there is none.
 
Methods inherited from interface org.springframework.beans.factory.BeanFactory
containsBean, getAliases, getBean, getBean, isSingleton
 

Method Detail

getParentBeanFactory

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



Copyright (C) 2003-2004 The Spring Framework Project.