接口 HierarchicalBeanFactory

    • 方法详细资料

      • 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.

        参数:
        name - the name of the bean to query
        返回:
        whether a bean with the given name is defined in the local factory
        另请参阅:
        BeanFactory.containsBean(java.lang.String)