org.ogf.graap.wsag.server.monitoring
Interface IServiceTermMonitoringHandler

All Known Implementing Classes:
SampleSDTMonitor, SampleServiceTermMonitor

public interface IServiceTermMonitoringHandler

IServiceTermMonitor Implements a monitoring handler that updates the state of one or a set of service terms. The monitoring handler is invoked by the MonitorableAgreement for each monitoring interval. It implements the domain specific logic to retrieve the state of a particular service term.

Author:
Oliver Waeldrich
See Also:
MonitorableAgreement

Method Summary
 void monitor(IMonitoringContext monitoringContext)
          The monitoring handler implements the domain specific logic to retrieve the state of a particular service term (or a set of service terms).
 

Method Detail

monitor

void monitor(IMonitoringContext monitoringContext)
             throws Exception
The monitoring handler implements the domain specific logic to retrieve the state of a particular service term (or a set of service terms). The service term states can be retrieved via the monitoring context. the monitoring context can also be used to store and access variables from different monitoring handlers and store the over multiple invocations.

Parameters:
monitoringContext - the monitoring context
Throws:
Exception - Indicates an error in the monitoring handler. The agreement states will not be updated during this monitoring cycle.


Copyright © 2008-2012. All Rights Reserved.