public class GazetteerLocator extends AbstractLocator
GazetteerManager
Locator
Modifier and Type | Field and Description |
---|---|
static java.lang.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.
|
java.lang.String |
getLocatorName()
Returns the name of the Locator, for registration, logging, and other
uses.
|
static void |
registerGazetteerManager(java.lang.Class clazz)
Registers the Class implementing the
GazetteerManager interface. |
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
public static final java.lang.String GAZETTEER_MANAGER_NAME
public java.lang.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(java.lang.Class clazz)
GazetteerManager
interface.clazz
- implementing the IGazetteerServiceDriver interface