vitorsouza/Zanshin — Issue #2: Implement AwReqs monitoring
Author: vitorsouza
Created: 2012-02-14 17:33:33+00:00
State: open

Currently, the monitoring service is simulated: it delegates the notification of the adaptation service to a "simulated monitor" provided by the simulation component. The EEAT implementation of AwReqs monitoring should be integrated with Zanshin for a complete framework.

Other than implementing that in `it.unitn.disi.zanshin.monitoring.internal.services.MonitorThread.processMethodCall()`, the "simulated monitor" hack has to be removed. The following should be done:

* `it.unitn.disi.zanshin.monitoring.Activator`: revise the class JavaDoc documentation;
* `it.unitn.disi.zanshin.monitoring.internal.services.MonitorThread`: remove the `simulatedMonitor` attribute and any reference to it;
* `it.unitn.disi.zanshin.simulation.cases.AbstractSimulation`: remove the `simulatedMonitor` attribute and any reference to it;
* `it.unitn.disi.zanshin.services.IMonitoringService`: remove the `setSimulatedMonitor()` method and any reference to it;
* `it.unitn.disi.zanshin.simulation.cases.Simulation`: remove the `getSimulatedMonitor()` method and any reference to it. Also remove the `simulatedMonitor` parameter of the `init()` method and propagate it in the subclasses. Finally, delete the constant that refers to the `monitorClass` property in the configuration;
* `it.unitn.disi.zanshin.simulation.SimulationManager`: in the constructor, stop reading the `monitorClass` property;
* `/it.unitn.disi.zanshin.simulation/META-INF/simulation.properties`: remove the `monitorClass` keys.