Class DumperRegistry
java.lang.Object
fr.opensagres.xdocreport.core.registry.AbstractRegistry<IDumperDiscovery>
fr.opensagres.xdocreport.document.dump.DumperRegistry
public class DumperRegistry
extends fr.opensagres.xdocreport.core.registry.AbstractRegistry<IDumperDiscovery>
IDumper registry.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidfindDumper(String kind) Returns the dumper registered with the given kind in the registry.Returns the dumper registered with the given kind in the registry and null otherwise.getKinds()Returns teh list of the dumper kind registered in the registry.static DumperRegistryReturns the dumper registry instance.protected booleanregisterInstance(IDumperDiscovery discovery) Methods inherited from class fr.opensagres.xdocreport.core.registry.AbstractRegistry
dispose, initialize, initializeIfNeeded, onEndInitialization, onStartInitialization
-
Constructor Details
-
DumperRegistry
public DumperRegistry()
-
-
Method Details
-
getRegistry
Returns the dumper registry instance.- Returns:
-
findDumper
Returns the dumper registered with the given kind in the registry.- Parameters:
kind- the dumper kind.- Returns:
- Throws:
fr.opensagres.xdocreport.core.XDocReportException- thrown when the dumper is not found.
-
getDumper
Returns the dumper registered with the given kind in the registry and null otherwise.- Parameters:
options-- Returns:
-
getKinds
Returns teh list of the dumper kind registered in the registry.- Returns:
-
doDispose
protected void doDispose()- Specified by:
doDisposein classfr.opensagres.xdocreport.core.registry.AbstractRegistry<IDumperDiscovery>
-
registerInstance
- Specified by:
registerInstancein classfr.opensagres.xdocreport.core.registry.AbstractRegistry<IDumperDiscovery>
-