public interface IModuleLifeCycleHandler
Modifier and Type | Method and Description |
---|---|
boolean |
select()
Called when the mdac is selected, which corresponds to the user action
"Deploy a mdac...".
|
boolean |
start()
Called when the mdac is started.
|
void |
stop()
Called before the mdac is stopped.
|
void |
unselect()
Called when the mdac is deselected from the project.
|
void |
upgrade(Version oldVersion,
java.util.Map<java.lang.String,java.lang.String> oldParameters)
Called when the mdac is being upgraded from a previous version.
|
boolean select() throws ModuleException
ModuleException
- when an error occurs preventing the module from being
selected.boolean start() throws ModuleException
ModuleException
- when an error occurs preventing the module from starting.void stop() throws ModuleException
ModuleException
- when an error occurs preventing the module from stopping.void unselect() throws ModuleException
ModuleException
- when an error occurs preventing the module from being
unselected.void upgrade(Version oldVersion, java.util.Map<java.lang.String,java.lang.String> oldParameters) throws ModuleException
oldVersion
- The previous version of the MDAColdParameters
- The previous list of parameters (key, value)ModuleException
- when an error occurs preventing the module from being
upgraded.