Package org.scijava.app
Class DefaultAppService
-
- All Implemented Interfaces:
Comparable<Prioritized>,AppService,Contextual,Disposable,Identifiable,Initializable,Locatable,Logged,HasPluginInfo,PTService<App>,RichPlugin,SciJavaPlugin,SingletonService<App>,Prioritized,SciJavaService,Service,Versioned
public class DefaultAppService extends AbstractSingletonService<App> implements AppService
Default service for application-level functionality.- Author:
- Curtis Rueden
-
-
Constructor Summary
Constructors Constructor Description DefaultAppService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AppgetApp(String name)Gets an application by name.Map<String,App>getApps()Gets the table of associated applications, keyed by name.protected voidonEvent(AppAboutEvent event)protected voidonEvent(AppPreferencesEvent event)protected voidonEvent(AppQuitEvent event)-
Methods inherited from class org.scijava.plugin.AbstractSingletonService
getInstance, getInstances, objectService, onEvent, onEvent
-
Methods inherited from class org.scijava.plugin.AbstractPTService
pluginService
-
Methods inherited from class org.scijava.service.AbstractService
getContext, setContext, toString
-
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
getInfo, getPriority, setInfo, setPriority
-
Methods inherited from class org.scijava.AbstractContextual
context
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.app.AppService
getApp, getPluginType
-
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
getPlugins, getPluginService, pluginService
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.service.Service
registerEventHandlers
-
Methods inherited from interface org.scijava.plugin.SingletonService
create, filterInstances, getInstance, getInstances, initialize, objectService
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-
-
-
Method Detail
-
getApp
public App getApp(String name)
Description copied from interface:AppServiceGets an application by name.- Specified by:
getAppin interfaceAppService
-
getApps
public Map<String,App> getApps()
Description copied from interface:AppServiceGets the table of associated applications, keyed by name.- Specified by:
getAppsin interfaceAppService- See Also:
Plugin.name()
-
onEvent
protected void onEvent(AppAboutEvent event)
-
onEvent
protected void onEvent(AppPreferencesEvent event)
-
onEvent
protected void onEvent(AppQuitEvent event)
-
-