Interface HierarchicalBeanFactory

    • Method Detail

      • containsLocalBean

        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.

        Parameters:
        name - the name of the bean to query
        Returns:
        whether a bean with the given name is defined in the local factory
        See Also:
        BeanFactory.containsBean(java.lang.String)