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