Skip to content
Snippets Groups Projects
Commit ce6f9c92 authored by erbel's avatar erbel
Browse files

Simulation stopped on deletion

parent 64fa3194
No related branches found
No related tags found
1 merge request!2Dev/mon prop resource
connection.project.dir=../de.ugoe.cs.rwm.mocci.connector connection.project.dir=
eclipse.preferences.version=1 eclipse.preferences.version=1
...@@ -119,6 +119,9 @@ public class ResultproviderConnector extends monitoring.impl.ResultproviderImpl ...@@ -119,6 +119,9 @@ public class ResultproviderConnector extends monitoring.impl.ResultproviderImpl
public void occiDelete() public void occiDelete()
{ {
LOGGER.debug("occiDelete() called on " + this); LOGGER.debug("occiDelete() called on " + this);
if(simulation!= null) {
simulation.stop();
}
// TODO: Implement this callback or remove this method. // TODO: Implement this callback or remove this method.
} }
// End of user code // End of user code
...@@ -181,6 +184,7 @@ public class ResultproviderConnector extends monitoring.impl.ResultproviderImpl ...@@ -181,6 +184,7 @@ public class ResultproviderConnector extends monitoring.impl.ResultproviderImpl
* - term: undeploy * - term: undeploy
* - title: * - title:
*/ */
@SuppressWarnings("deprecation")
@Override @Override
public void undeploy() public void undeploy()
{ {
...@@ -221,6 +225,7 @@ public class ResultproviderConnector extends monitoring.impl.ResultproviderImpl ...@@ -221,6 +225,7 @@ public class ResultproviderConnector extends monitoring.impl.ResultproviderImpl
* - term: stop * - term: stop
* - title: Stop the application. * - title: Stop the application.
*/ */
@SuppressWarnings("deprecation")
@Override @Override
public void stop() public void stop()
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment