org.ogf.graap.wsag.samples
Class SampleServiceTermMonitor

java.lang.Object
  extended by org.ogf.graap.wsag.samples.SampleServiceTermMonitor
All Implemented Interfaces:
IServiceTermMonitoringHandler

public class SampleServiceTermMonitor
extends Object
implements IServiceTermMonitoringHandler

SampleServiceTermMonitor

Author:
hrasheed

Constructor Summary
SampleServiceTermMonitor()
           
 
Method Summary
 void monitor(IMonitoringContext context)
          The monitoring handler implements the domain specific logic to retrieve the state of a particular service term (or a set of service terms).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SampleServiceTermMonitor

public SampleServiceTermMonitor()
Method Detail

monitor

public void monitor(IMonitoringContext context)
             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.

Specified by:
monitor in interface IServiceTermMonitoringHandler
Parameters:
context - 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.