org.scijava.app
Class DefaultAppService
java.lang.Object
org.scijava.AbstractContextual
org.scijava.plugin.AbstractRichPlugin
org.scijava.service.AbstractService
org.scijava.app.DefaultAppService
- All Implemented Interfaces:
- Comparable<Prioritized>, AppService, Contextual, Disposable, HasPluginInfo, RichPlugin, SciJavaPlugin, Prioritized, SciJavaService, Service
public class DefaultAppService
- extends AbstractService
- implements AppService
Default service for application-level functionality.
- Author:
- Curtis Rueden
Method Summary |
App |
getApp(String name)
Gets an application by name. |
Map<String,App> |
getApps()
Gets the table of associated applications, keyed by name. |
void |
initialize()
Performs any needed initialization when the service is first loaded. |
DefaultAppService
public DefaultAppService()
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()
initialize
public void initialize()
- Description copied from interface:
Service
- Performs any needed initialization when the service is first loaded.
NB: This method is not intended to be called directly. It is called by
the service framework itself (specifically by the ServiceHelper
)
when initializing the service. It should not be called a second time.
- Specified by:
initialize
in interface Service
- Overrides:
initialize
in class AbstractService
Copyright © 2009–2014 SciJava. All rights reserved.