public class DownloaderLocator extends BaseLocator
Modifier and Type | Field and Description |
---|---|
static String |
DOWNLOADER_MANAGER_DESCRIPTION |
static String |
MANAGER_NAME
The name and the description for the
manager reference. |
Constructor and Description |
---|
DownloaderLocator() |
Modifier and Type | Method and Description |
---|---|
static DownloaderManager |
getDownloaderManager()
Return a reference to Downloader manager.
|
static DownloaderLocator |
getInstance()
Return the singleton instance.
|
static void |
registerDownloaderManager(Class clazz)
Registers the Class implementing the Downloader manager interface.
|
getLocatorName
exists, get, getNames, register, register, register, register, registerDefault, registerDefault, toString
public static final String MANAGER_NAME
manager
reference.public static final String DOWNLOADER_MANAGER_DESCRIPTION
public static DownloaderLocator getInstance()
public static DownloaderManager getDownloaderManager() throws LocatorException
LocatorException
- if there is no access to the class or the class
cannot be instantiatedLocator#get(String)
public static void registerDownloaderManager(Class clazz)
clazz
- implementing the Downloader manager interface