Package org.scijava.plugin
Interface TypedService<DT,PT extends TypedPlugin<DT>>
-
- Type Parameters:
DT- Base data type of theTypedPlugins.PT- Plugin type of theTypedPlugins.
- All Superinterfaces:
Comparable<Prioritized>,Contextual,Disposable,HasPluginInfo,Identifiable,Initializable,Locatable,Logged,Prioritized,PTService<PT>,RichPlugin,SciJavaPlugin,Service,Typed<DT>,Versioned
- All Known Subinterfaces:
ConsoleService,ConvertService,DataHandleService,DragAndDropService,HandlerService<DT,PT>,IOService,LocationService,RunService,ScriptHeaderService,TextIOService,TextService,TypedIOService<D>,WidgetService,WrapperService<DT,PT>
- All Known Implementing Classes:
AbstractConvertService,AbstractHandlerService,AbstractTypedIOService,AbstractTypedService,AbstractWrapperService,DefaultConsoleService,DefaultConvertService,DefaultDataHandleService,DefaultDragAndDropService,DefaultIOService,DefaultLocationService,DefaultRunService,DefaultScriptHeaderService,DefaultTextIOService,DefaultTextService,DefaultWidgetService
public interface TypedService<DT,PT extends TypedPlugin<DT>> extends PTService<PT>, Typed<DT>
A service for managing a particular sort ofTypedPlugin.Note that like
PTService,SingletonServiceandWrapperService,TypedServiceis not a service interface defining API for a specific concrete service implementation, but rather a more general layer in a type hierarchy intended to ease creation of services that fit its pattern.- Author:
- Curtis Rueden
- See Also:
TypedPlugin,PTService
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default PTfind(DT data)Gets a new instance of the highest priority plugin managed by this service which supports the given data object according to theTypedinterface.-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.Disposable
dispose
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.PTService
create, getPlugins, getPluginService, getPluginType, pluginService
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.service.Service
initialize, registerEventHandlers
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-