org.scijava.app
Class DefaultAppService
java.lang.Object
org.scijava.AbstractContextual
org.scijava.plugin.AbstractRichPlugin
org.scijava.service.AbstractService
org.scijava.plugin.AbstractPTService<PT>
org.scijava.plugin.AbstractSingletonService<App>
org.scijava.app.DefaultAppService
- All Implemented Interfaces:
- Comparable<Prioritized>, AppService, Contextual, Disposable, HasPluginInfo, PTService<App>, RichPlugin, SciJavaPlugin, SingletonService<App>, Prioritized, Service
public class DefaultAppService
- extends AbstractSingletonService<App>
- implements AppService
Default service for application-level functionality.
- Author:
- Curtis Rueden
DefaultAppService
public DefaultAppService()
getApp
public App getApp()
- Description copied from interface:
AppService
- Gets the foremost application (the one with the highest priority).
- Specified by:
getApp
in interface AppService
getApp
public App getApp(String name)
- Description copied from interface:
AppService
- Gets an application by name.
- Specified by:
getApp
in interface AppService
getApps
public Map<String,App> getApps()
- Description copied from interface:
AppService
- Gets the table of associated applications, keyed by name.
- Specified by:
getApps
in interface AppService
- See Also:
Plugin.name()
getPluginType
public Class<App> getPluginType()
- Description copied from interface:
PTService
- Gets the type of plugins managed by this service.
- Specified by:
getPluginType
in interface PTService<App>
Copyright © 2009–2014 SciJava. All rights reserved.