类 DefaultLocatorFactory

    • 方法详细资料

      • getInstance

        public static BeanFactoryLocator getInstance​(String selector)
                                              throws FatalBeanException
        Return an instance object implementing BeanFactoryLocator. This will normally be a singleton instance of the specific ContextSingletonBeanFactoryLocator class, using the specified resource selector.
        参数:
        selector - a selector variable which provides a hint to the factory as to which instance to return.
        抛出:
        FatalBeanException