public interface IMdacSession
When a MDAC is deployed in a project, the mdac developer has to be notified to realize some business stuff.
Several methods can be implemented to determine the right behavior regarding the state of the MDAC and the current event.
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,
Map<String,String> oldParameters)
Called when the mdac is being upgraded from a previous version.
|
boolean select() throws MdacException
MdacException
boolean start() throws MdacException
MdacException
void stop() throws MdacException
MdacException
void unselect() throws MdacException
MdacException
void upgrade(Version oldVersion, Map<String,String> oldParameters) throws MdacException
oldVersion
- The previous version of the MDAColdParameters
- The previous list of parameters (key, value)MdacException