org.deegree.services.csw
Class CSWService

java.lang.Object
  extended by org.deegree.services.csw.CSWService

public class CSWService
extends java.lang.Object

Specifies the Service-Layer.
Initial class to register all configured MetadataStores that are specified in the Service-Configuration.

NOTE: If there is an implementation of other/new MetadataStores please reimplement the getStore()-method.

Version:
$Revision: $, $Date: $
Author:
Steffen Thomas, last edited by: $Author: thomas $

Constructor Summary
CSWService(DeegreeCSW sc, java.lang.String baseURL)
          Creates a CSWService instance to get a binding to the configuration.
 
Method Summary
 void addToStore(org.deegree.metadata.persistence.MetadataStore rs)
          Registers a new MetadataStore to the CSW.
 java.util.Set<org.deegree.metadata.persistence.MetadataStore> getMetadataStore()
           
 org.deegree.metadata.persistence.MetadataStore getStore()
           
 void removeStore(org.deegree.metadata.persistence.MetadataStore rs)
          Unregisters the specified MetadataStore from the CSW.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CSWService

public CSWService(DeegreeCSW sc,
                  java.lang.String baseURL)
           throws org.deegree.metadata.persistence.MetadataStoreException
Creates a CSWService instance to get a binding to the configuration.

Parameters:
sc - the deegree configuration that is specified in the csw_configuration.xml document
Throws:
org.deegree.metadata.persistence.MetadataStoreException
Method Detail

addToStore

public void addToStore(org.deegree.metadata.persistence.MetadataStore rs)
Registers a new MetadataStore to the CSW.

Parameters:
rs - store to be registered

removeStore

public void removeStore(org.deegree.metadata.persistence.MetadataStore rs)
Unregisters the specified MetadataStore from the CSW.

Parameters:
rs - store to be unregistered

getStore

public org.deegree.metadata.persistence.MetadataStore getStore()
Returns:
one MetadataStore

getMetadataStore

public java.util.Set<org.deegree.metadata.persistence.MetadataStore> getMetadataStore()
Returns:
Set of type RecordStore


Copyright © 2011. All Rights Reserved.