org.springframework.context.access
Class DefaultLocatorFactory
java.lang.Object
org.springframework.context.access.DefaultLocatorFactory
public class DefaultLocatorFactory
- extends Object
A factory class to get a default ContextSingletonBeanFactoryLocator instance.
- Author:
- Colin Sampaleanu
- See Also:
ContextSingletonBeanFactoryLocator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultLocatorFactory
public DefaultLocatorFactory()
getInstance
public static BeanFactoryLocator getInstance()
throws 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:
FatalBeanException
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.
- Parameters:
selector
- a selector variable which provides a hint to the factory as to
which instance to return.
- Throws:
FatalBeanException
Copyright (c) 2002-2006 The Spring Framework Project.