org.csstudio.startup.module
Interface ServicesStartupExtPoint
- All Superinterfaces:
- CSSStartupExtensionPoint
public interface ServicesStartupExtPoint
- extends CSSStartupExtensionPoint
ServicesStartupExtPoint defines how the services and which services
should be started when the application is loading.
- Author:
- Jaka Bobnar
|
Field Summary |
static java.lang.String |
NAME
The name of this extension point element |
|
Method Summary |
java.lang.Object |
startServices(Display display,
IApplicationContext context,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Starts all services that need to be started. |
NAME
static final java.lang.String NAME
- The name of this extension point element
- See Also:
- Constant Field Values
startServices
java.lang.Object startServices(Display display,
IApplicationContext context,
java.util.Map<java.lang.String,java.lang.Object> parameters)
throws java.lang.Exception
- Starts all services that need to be started. In principle this method should
load the
ServiceProxys and start the ones that need to be started.
Other services can also be started by implementing this extension point.
- Parameters:
display - the display of the applicationcontext - the application's contextparameters - contains additional parameters, which can define
some special behaviour during the execution of this method (the keys
are parameters names and the values are parameters values)
- Returns:
- the exit code if something happened which requires to exit or restart
application or null if everything is alright
- Throws:
java.lang.Exception - if an error occurred during the operation