org.springframework.context.access
Class DefaultLocatorFactory

java.lang.Object
  extended byorg.springframework.context.access.DefaultLocatorFactory

public class DefaultLocatorFactory
extends java.lang.Object

A factory class to get a default ContextSingletonBeanFactoryLocator instance.

Version:
$Revision: 1.2 $
Author:
Colin Sampaleanu
See Also:
ContextSingletonBeanFactoryLocator

Constructor Summary
DefaultLocatorFactory()
           
 
Method Summary
static BeanFactoryLocator getInstance()
          Return an instance object implementing BeanFactoryLocator.
static 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
 

Constructor Detail

DefaultLocatorFactory

public DefaultLocatorFactory()
Method Detail

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(java.lang.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) 2003-2004 The Spring Framework Project.