public class DumperRegistry extends AbstractRegistry<IDumperDiscovery>
IDumper registry.| Constructor and Description |
|---|
DumperRegistry() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doDispose() |
IDumper |
findDumper(String kind)
Returns the dumper registered with the given kind in the registry.
|
IDumper |
getDumper(String kind)
Returns the dumper registered with the given kind in the registry and null otherwise.
|
Set<String> |
getKinds()
Returns teh list of the dumper kind registered in the registry.
|
static DumperRegistry |
getRegistry()
Returns the dumper registry instance.
|
protected boolean |
registerInstance(IDumperDiscovery discovery) |
dispose, initialize, initializeIfNeeded, onEndInitialization, onStartInitializationpublic static DumperRegistry getRegistry()
public IDumper findDumper(String kind) throws XDocReportException
kind - the dumper kind.XDocReportException - thrown when the dumper is not found.public IDumper getDumper(String kind)
options - public Set<String> getKinds()
protected void doDispose()
doDispose in class AbstractRegistry<IDumperDiscovery>protected boolean registerInstance(IDumperDiscovery discovery)
registerInstance in class AbstractRegistry<IDumperDiscovery>Copyright © 2015. All Rights Reserved.