public class DownloaderLocator extends BaseLocator
DownloaderManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MANAGER_NAME
XML manager name
|
Constructor and Description |
---|
DownloaderLocator() |
Modifier and Type | Method and Description |
---|---|
static DownloaderManager |
getDownloaderManager() |
static DownloaderLocator |
getInstance()
Returns the singleton instance.
|
java.lang.String |
getLocatorName()
Returns the Locator's name
|
static DownloaderManager |
getManager()
Return a reference to DownloaderLocator.
|
static DownloaderManager |
getOnlineManager() |
static void |
registerDefaultDownloaderManager(java.lang.Class clazz)
Registers the default Class implementing the DownloaderLocator interface
|
static void |
registerDownloaderManager(java.lang.Class clazz)
Registers the Class implementing the DownloaderLocator interface.
|
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
public static final java.lang.String MANAGER_NAME
public static DownloaderLocator getInstance()
public static DownloaderManager getOnlineManager()
public java.lang.String getLocatorName()
getLocatorName
in interface Locator
getLocatorName
in class BaseLocator
public static DownloaderManager getManager() throws LocatorException
LocatorException
- if there is no access to the class or the class
cannot be instantiatedLocator.get(String)
public static DownloaderManager getDownloaderManager() throws LocatorException
LocatorException
public static void registerDownloaderManager(java.lang.Class clazz)
clazz
- implementing the DownloaderLocator interfacepublic static void registerDefaultDownloaderManager(java.lang.Class clazz)
clazz
- implementing the DownloaderLocator interface