DT - Base data type handled by the handlers.PT - Plugin type of the handlers.public interface HandlerService<DT,PT extends HandlerPlugin<DT>> extends SingletonService<PT>, TypedService<DT,PT>
HandlerPlugins of a particular type.
 
 For any given data object, the service is capable of determining the most
 appropriate handler by sequentially querying each handler plugin on its list
 (via Typed.supports(T)).
 
HandlerPlugin| Modifier and Type | Method and Description | 
|---|---|
| default PT | getHandler(DT data)Gets the most appropriate handler for the given data object, or null if no
 handler supports it. | 
| List<PT> | getInstances()Gets the list of handlers. | 
| default boolean | supports(DT data)Gets whether the given data object is supported. | 
create, filterInstances, getInstance, initialize, objectServicefindgetPlugins, getPluginService, getPluginType, pluginServiceregisterEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposedefault PT getHandler(DT data)
List<PT> getInstances()
getInstances in interface SingletonService<PT extends HandlerPlugin<DT>>Copyright © 2015–2022 SciJava. All rights reserved.