org.csstudio.startup.module
Interface ShutDownExtPoint

All Superinterfaces:
CSSStartupExtensionPoint

public interface ShutDownExtPoint
extends CSSStartupExtensionPoint

ShutDownExtPoint is used to provide the code that needs to be executed just before the workbench closes. Such as for instance saving some data, closing connections or anything else which is not done automatically.

Author:
Jaka Bobnar

Field Summary
static java.lang.String NAME
          The name of this extension point element
 
Method Summary
 void beforeShutDown(java.util.Map<java.lang.String,java.lang.Object> parameters)
          Is called just before the workbench is closed.
 

Field Detail

NAME

static final java.lang.String NAME
The name of this extension point element

See Also:
Constant Field Values
Method Detail

beforeShutDown

void beforeShutDown(java.util.Map<java.lang.String,java.lang.Object> parameters)
Is called just before the workbench is closed. The implementation should handle all the things that need to be done before the application exits.

Parameters:
parameters - 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)