|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.commons.iloader.node.LoaderRegistry
public class LoaderRegistry
A registry of ILoaders. Loaders should be registered with this registry in order to reduce the need for creating a new loader each time one is needed. A single instance of the loader should be created and registered with this regisry.
Method Summary | |
---|---|
static LoaderRegistry |
getInstance()
|
ILoader |
getLoader(java.lang.String namespace)
Returns an ILoader based on the namespace provided. |
void |
register(ILoader loader)
Registers a loader in the registry. |
void |
unregister(ILoader loader)
Removes the specified loader from the registry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static LoaderRegistry getInstance()
public ILoader getLoader(java.lang.String namespace)
com.ibm.commons.iloader.node.ILoader.handleNamespace(String)
is used
to determine if any of the registered loaders apply to the namespace.
namespace
- the qualified name of the namespace
public void register(ILoader loader)
loader
- public void unregister(ILoader loader)
loader
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |