org.springframework.context.access
Class DefaultLocatorFactory
java.lang.Object
org.springframework.context.access.DefaultLocatorFactory
public class DefaultLocatorFactory
- extends java.lang.Object
A factory class to get a default ContextSingletonBeanFactoryLocator instance.
- Author:
- Colin Sampaleanu
- See Also:
ContextSingletonBeanFactoryLocator
Method Summary |
static org.springframework.beans.factory.access.BeanFactoryLocator |
getInstance()
Return an instance object implementing BeanFactoryLocator. |
static org.springframework.beans.factory.access.BeanFactoryLocator |
getInstance(java.lang.String selector)
Return an instance object implementing BeanFactoryLocator. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLocatorFactory
public DefaultLocatorFactory()
getInstance
public static org.springframework.beans.factory.access.BeanFactoryLocator getInstance()
throws org.springframework.beans.FatalBeanException
- Return an instance object implementing BeanFactoryLocator. This will normally
be a singleton instance of the specific ContextSingletonBeanFactoryLocator class,
using the default resource selector.
- Throws:
org.springframework.beans.FatalBeanException
getInstance
public static org.springframework.beans.factory.access.BeanFactoryLocator getInstance(java.lang.String selector)
throws org.springframework.beans.FatalBeanException
- 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.
- Throws:
org.springframework.beans.FatalBeanException