public class CatalogLocator extends AbstractLocator
CatalogManager
Locator
Modifier and Type | Field and Description |
---|---|
static 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.
|
String |
getLocatorName()
Returns the name of the Locator, for registration, logging, and other
uses.
|
static void |
registerCatalogManager(Class clazz)
Registers the Class implementing the
CatalogManager interface. |
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
public static final String CATALOG_MANAGER_NAME
public 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(Class clazz)
CatalogManager
interface.clazz
- implementing the ICatalogServiceDriver interface