|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object fr.opensagres.xdocreport.core.registry.AbstractRegistry<IDumperDiscovery> fr.opensagres.xdocreport.document.dump.DumperRegistry
public class DumperRegistry
IDumper
registry.
Constructor Summary | |
---|---|
DumperRegistry()
|
Method Summary | |
---|---|
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)
Register the instance in the registry. |
Methods inherited from class fr.opensagres.xdocreport.core.registry.AbstractRegistry |
---|
dispose, initialize, initializeIfNeeded, onEndInitialization, onStartInitialization |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DumperRegistry()
Method Detail |
---|
public 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)
AbstractRegistry
registerInstance
in class AbstractRegistry<IDumperDiscovery>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |