PT - Plugin type of the plugins being managed.public interface SingletonService<PT extends SingletonPlugin> extends PTService<PT>
SingletonPlugins of a particular type. The
SingletonService creates and maintain a list of singleton instances.
Note that like PTService, TypedService and
WrapperService, SingletonService 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.
PTService| Modifier and Type | Method and Description |
|---|---|
<P extends PT> |
getInstance(Class<P> pluginClass)
Gets the singleton plugin instance of the given class.
|
List<PT> |
getInstances()
Gets the list of plugin instances.
|
create, getPlugins, getPluginService, getPluginTypeinitialize, registerEventHandlerscontext, getContext, setContextgetPriority, setPrioritycompareTogetInfo, setInfodisposeCopyright © 2009–2016 SciJava. All rights reserved.