org.deegree_impl.services.gazetteer
Class WFSGFactory

java.lang.Object
  extended byorg.deegree_impl.services.gazetteer.WFSGFactory

public class WFSGFactory
extends java.lang.Object

factory class for creating an instance of a DataStores from its class name and its configuration file.

-------------------------------------------------------------------------

Version:
$Revision: 1.7 $ $Date: 2004/03/24 12:36:22 $

Author:
Andreas Poth

Constructor Summary
WFSGFactory()
           
 
Method Summary
static DataStore createDataStrore(java.lang.String className, java.net.URL configuration)
           
static OGCWebService createWFSGService(WFSGCapabilities capa, GazetteerConfiguration gazetteerConfig, Dispatcher dispatcher)
          Factory method for creating an instance of a WFSService.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WFSGFactory

public WFSGFactory()
Method Detail

createWFSGService

public static OGCWebService createWFSGService(WFSGCapabilities capa,
                                              GazetteerConfiguration gazetteerConfig,
                                              Dispatcher dispatcher)
Factory method for creating an instance of a WFSService.

Parameters:
capa - capabilities of the WFS-G.
dispatcher - instance of the dispatcher that should manage the WFS requests and responses. If null is submitted to the mehtod instead a new instance will be created.

createDataStrore

public static DataStore createDataStrore(java.lang.String className,
                                         java.net.URL configuration)
                                  throws java.lang.Exception
Throws:
java.lang.Exception