org.deegree_impl.services.wfs
Class WFSFactory

java.lang.Object
  extended byorg.deegree_impl.services.wfs.WFSFactory

public class WFSFactory
extends java.lang.Object

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

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

Version:
$Revision: 1.15 $ $Date: 2004/03/07 09:32:49 $

Author:
Andreas Poth

Constructor Summary
WFSFactory()
           
 
Method Summary
static DataStore createDataStrore(java.lang.String className, java.net.URL configuration)
           
static OGCWebService createWFSService(WFSCapabilities capa, 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

WFSFactory

public WFSFactory()
Method Detail

createWFSService

public static OGCWebService createWFSService(WFSCapabilities capa,
                                             Dispatcher dispatcher)
                                      throws java.lang.Exception
Factory method for creating an instance of a WFSService.

Parameters:
capa - capabilities of the WFS.
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.
Throws:
java.lang.Exception

createDataStrore

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