|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimerTask
org.deegree.ogcwebservices.csw.manager.AbstractHarvester
org.deegree.ogcwebservices.csw.manager.ServiceHarvester
public class ServiceHarvester
Concrete implementation of
for harvesting service metadata
from OGC web services. To enable this capabilities documents of the OWS will be accessed and
transformed into a valid format that will be understood by the underlying catalogue. To
enable a lot of flexibility a XSLT read from resource bundle (harvestservice.xsl) script
will be used to perform the required transformation.
A valid harvest SOURCE for a service must be a complete GetCapabilities request; the
RESOURCETYPE must be 'service'. Example:
...?request=Harvest&version=2.0.0&source=[http://MyServer:8080/deegree?
service=WFS&version=1.1.0&request=GetCapabilities]&resourceType=service&
resourceFormat=text/xml&responseHandler=mailto:info@lat-lon.de&harvestInterval=P2W
value in brackets [..] must be URL encoded and send without brackets!
This is not absolutly compliant to OGc CSW 2.0.0 specification but Harvest definition as
available from the spec is to limited because it just targets single metadata documents.
Nested Class Summary | |
---|---|
protected class |
ServiceHarvester.HarvestProcessor
inner class for processing asynchronous harvesting of a service |
Nested classes/interfaces inherited from class org.deegree.ogcwebservices.csw.manager.AbstractHarvester |
---|
AbstractHarvester.AbstractHarvestProcessor |
Field Summary |
---|
Fields inherited from class org.deegree.ogcwebservices.csw.manager.AbstractHarvester |
---|
inProgress, nsc |
Constructor Summary | |
---|---|
ServiceHarvester()
|
Method Summary | |
---|---|
static ServiceHarvester |
getInstance()
singelton |
void |
run()
|
Methods inherited from class org.deegree.ogcwebservices.csw.manager.AbstractHarvester |
---|
addRequest, informResponseHandlers, informResponseHandlers, isRunning, removeRequest, shallHarvest, startHarvesting, stopHarvesting |
Methods inherited from class java.util.TimerTask |
---|
cancel, scheduledExecutionTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceHarvester()
Method Detail |
---|
public static ServiceHarvester getInstance()
public void run()
run
in interface Runnable
run
in class TimerTask
|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net