Package org.idempiere.ui.zk.report
Class ReportFormatSelectorProvider
java.lang.Object
org.idempiere.ui.zk.report.ReportFormatSelectorProvider
OSGi component that collects the
IReportFormatSelectorFactory services in service ranking order.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()Make this provider available togetFactories()voidbindFactory(IReportFormatSelectorFactory factory, Map<String, Object> properties) Bind a factoryvoidRemove this provider fromgetFactories()static IReportFormatSelectorFactory[]Get the bound factoriesvoidUnbind a factory
-
Constructor Details
-
ReportFormatSelectorProvider
public ReportFormatSelectorProvider()
-
-
Method Details
-
activate
public void activate()Make this provider available togetFactories() -
deactivate
public void deactivate()Remove this provider fromgetFactories() -
bindFactory
Bind a factory- Parameters:
factory- factory to addproperties- service properties, used for the ranking
-
unbindFactory
Unbind a factory- Parameters:
factory- factory to remove
-
getFactories
Get the bound factories- Returns:
- factories, highest service ranking first. Empty if none
-