de.fzj.unicore.wsrflite.xmlbeans.wsn.impl
Class WSNEventChecker
java.lang.Object
de.fzj.unicore.wsrflite.xmlbeans.wsn.impl.WSNEventChecker
- All Implemented Interfaces:
- InstanceChecker
public class WSNEventChecker
- extends Object
- implements InstanceChecker
check whether an event has occured
- Author:
- schuller
|
Method Summary |
boolean |
check(Home home,
String id)
this will invoke GetResourcePropertyDocument() and thus events will
be generated |
boolean |
process(Home home,
String id)
perform processing on the instance (in case check() hits) |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSNEventChecker
public WSNEventChecker()
check
public boolean check(Home home,
String id)
throws ResourceUnknownException
- this will invoke GetResourcePropertyDocument() and thus events will
be generated
- Specified by:
check in interface InstanceChecker
id - - a WSRFInstance id
- Returns:
-
- Throws:
ResourceUnknownException
process
public boolean process(Home home,
String id)
- Description copied from interface:
InstanceChecker
- perform processing on the instance (in case check() hits)
- Specified by:
process in interface InstanceChecker
id - - a WSRFInstance id
- Returns:
- returns
true if instance is still valid. If it is
invalid, false is returned, and the instance will be removed from further checks
Copyright © 2010. All Rights Reserved.