public class PersonalDBLocator extends BaseLocator
PersonalDBManager
.Modifier and Type | Field and Description |
---|---|
static String |
MANAGER_DESCRIPTION
PersonalDB manager description.
|
static String |
MANAGER_NAME
PersonalDB manager name.
|
Constructor and Description |
---|
PersonalDBLocator() |
Modifier and Type | Method and Description |
---|---|
static PersonalDBLocator |
getInstance()
Return the singleton instance.
|
String |
getLocatorName()
Return the Locator's name.
|
static PersonalDBManager |
getManager()
Return a reference to the PersonalDBManager.
|
static void |
registerManager(Class<? extends PersonalDBManager> clazz)
Registers the Class implementing the PersonalDBManager interface.
|
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
public static final String MANAGER_NAME
public static final String MANAGER_DESCRIPTION
public static PersonalDBLocator getInstance()
public final String getLocatorName()
getLocatorName
in interface Locator
getLocatorName
in class BaseLocator
public static PersonalDBManager getManager() throws LocatorException
LocatorException
- if there is no access to the class or the class cannot be
instantiatedLocator.get(String)
public static void registerManager(Class<? extends PersonalDBManager> clazz)
clazz
- implementing the PersonalDBManager interface