public class GazetteerLocator extends AbstractLocator
GazetteerManager
Locator
Modifier and Type | Field and Description |
---|---|
static String |
GAZETTEER_MANAGER_NAME
GazetteerManager name used by the locator to access the instance
|
Constructor and Description |
---|
GazetteerLocator() |
Modifier and Type | Method and Description |
---|---|
static GazetteerManager |
getGazetteerManager()
Return a reference to
GazetteerManager . |
static GazetteerLocator |
getInstance()
Return the singleton instance.
|
String |
getLocatorName()
Returns the name of the Locator, for registration, logging, and other
uses.
|
static void |
registerGazetteerManager(Class clazz)
Registers the Class implementing the
GazetteerManager interface. |
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
public static final String GAZETTEER_MANAGER_NAME
public String getLocatorName()
Locator
public static GazetteerManager getGazetteerManager() throws LocatorException
GazetteerManager
.LocatorException
- if there is no access to the class or the class cannot be
instantiatedLocator.get(String)
public static GazetteerLocator getInstance()
public static void registerGazetteerManager(Class clazz)
GazetteerManager
interface.clazz
- implementing the IGazetteerServiceDriver interface