public class

DefaultLocatorFactory

extends Object
java.lang.Object
   ↳ org.springframework.context.access.DefaultLocatorFactory

Class Overview

A factory class to get a default ContextSingletonBeanFactoryLocator instance.

Summary

Public Constructors
DefaultLocatorFactory()
Public Methods
static BeanFactoryLocator getInstance()
Return an instance object implementing BeanFactoryLocator.
static BeanFactoryLocator getInstance(String selector)
Return an instance object implementing BeanFactoryLocator.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public DefaultLocatorFactory ()

Public Methods

public static BeanFactoryLocator getInstance ()

Return an instance object implementing BeanFactoryLocator. This will normally be a singleton instance of the specific ContextSingletonBeanFactoryLocator class, using the default resource selector.

public static BeanFactoryLocator getInstance (String selector)

Return an instance object implementing BeanFactoryLocator. This will normally be a singleton instance of the specific ContextSingletonBeanFactoryLocator class, using the specified resource selector.

Parameters
selector a selector variable which provides a hint to the factory as to which instance to return.