D- Data type associated with the plugin.
public interface HandlerPlugin<D> extends SingletonPlugin, TypedPlugin<D>
SingletonPluginassociated with a specific data type (i.e., implementing
For a given data object (of type
declares whether it can handle that data object via the
method. The plugin's associated
HandlerService.getHandler(DT) method then
uses this capability to determine the most appropriate handler for any given
Note that there is no single
handle(D) method for actually handling
data objects, because it would be rather inflexible; e.g., handlers may have
other required inputs, or may provide more than one possible avenue of
handling (i.e., more than one "handle"-style method).
Copyright © 2015–2017 SciJava. All rights reserved.