|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.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 | |
---|---|
(package private) static ILogger |
LOG
|
(package private) static java.net.URL |
xslt
|
Fields inherited from class org.deegree.ogcwebservices.csw.manager.AbstractHarvester |
---|
inProgress, nsc, version |
Constructor Summary | |
---|---|
ServiceHarvester(java.lang.String version)
|
Method Summary | |
---|---|
static ServiceHarvester |
getInstance(java.lang.String version)
singelton |
void |
run()
|
Methods inherited from class org.deegree.ogcwebservices.csw.manager.AbstractHarvester |
---|
addRequest, getIdentifierXPath, getIdentifierXPathForUpdate, 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 |
Field Detail |
---|
static final ILogger LOG
static final java.net.URL xslt
Constructor Detail |
---|
public ServiceHarvester(java.lang.String version)
version
- the version of the CSWMethod Detail |
---|
public static ServiceHarvester getInstance(java.lang.String version)
version
- the version of the CSW
public void run()
run
in interface java.lang.Runnable
run
in class java.util.TimerTask
|
deegree 2.5 (2011/06/29 09:44 build-8-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://www.deegree.org