public class OperationLoaderRegistry extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addLoader(OperationLoader loader)
Adds a loader using its preferred name
|
static void |
addLoader(String name,
OperationLoader loader)
Adds a loader
|
static OperationLoader |
getLoader(String name)
Gets the loader with the specified name (if known)
|
static Map<String,OperationLoader> |
getLoaders()
Gets an unmodifiable copy of the registered loaders
|
static void |
removeLoader(String name)
Removes the named loader
|
static void |
resetLoaders()
Resets to the default loader setup
|
public static OperationLoader getLoader(String name)
name
- Namepublic static void addLoader(OperationLoader loader)
loader
- Loaderpublic static void addLoader(String name, OperationLoader loader)
name
- Nameloader
- Loaderpublic static void removeLoader(String name)
name
- Namepublic static void resetLoaders()
public static Map<String,OperationLoader> getLoaders()
Copyright © 2015. All rights reserved.