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