PT - Plugin type of the SingletonPlugins being managed.public abstract class AbstractSingletonService<PT extends SingletonPlugin> extends AbstractPTService<PT> implements SingletonService<PT>
SingletonServices.| Constructor and Description | 
|---|
| AbstractSingletonService() | 
| 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. | 
| ObjectService | objectService()Gets the  ObjectServiceupon which this service depends. | 
pluginServicegetContext, setContext, toStringgetInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcreate, filterInstances, initializegetPlugins, getPluginService, getPluginType, pluginServiceregisterEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic ObjectService objectService()
SingletonServiceObjectService upon which this service depends.objectService in interface SingletonService<PT extends SingletonPlugin>public List<PT> getInstances()
SingletonServicegetInstances in interface SingletonService<PT extends SingletonPlugin>public <P extends PT> P getInstance(Class<P> pluginClass)
SingletonServicegetInstance in interface SingletonService<PT extends SingletonPlugin>Copyright © 2009–2018 SciJava. All rights reserved.