The corresponding setParentBeanFactory method for bean
factories that allow setting the parent in a configurable
fashion can be found in the ConfigurableBeanFactory interface.
org.springframework.beans.factory.config.ConfigurableBeanFactory#setParentBeanFactory
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: whether a bean with the given name is defined in the local factorythe name of the bean to query name)Return whether the local bean factory contains a bean of the given name, ignoring beans defined in ancestor contexts. |
| public BeanFactory |
| containsLocalBean | back to summary |
|---|---|
| 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
| |
| getParentBeanFactory | back to summary |
|---|---|
| public BeanFactory getParentBeanFactory() Return the parent bean factory, or
| |