DT
- Base data type of the TypedPlugin
s.PT
- Plugin type of the TypedPlugin
s.public interface TypedService<DT,PT extends TypedPlugin<DT>> extends PTService<PT>, Typed<DT>
TypedPlugin
.
Note that like PTService
, SingletonService
and
WrapperService
, TypedService
is 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.
TypedPlugin
,
PTService
Modifier and Type | Method and Description |
---|---|
default PT |
find(DT data)
Gets a new instance of the highest priority plugin managed by this service
which supports the given data object according to the
Typed
interface. |
create, getPlugins, getPluginService, getPluginType, pluginService
initialize, registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
Copyright © 2015–2022 SciJava. All rights reserved.