|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.services.wfs.AbstractDataStore
the class implements the methods of the DataStore interface thats implementation is common to all data stores and some additional methods that will be used if the data store is controlled using observer/event handling mechanism.
------------------------------------------------------------------------
Field Summary | |
protected DatastoreConfiguration |
config
|
private java.util.List |
featureTypes
|
private javax.swing.event.EventListenerList |
listenerList
|
protected DBConnectionPool |
pool
|
Constructor Summary | |
protected |
AbstractDataStore(java.net.URL datastoreConfigSource)
Creates a new AbstractDataStore object. |
Method Summary | |
protected void |
fireResponse(OGCWebServiceEvent event)
notifies the registered WFSResponseListener that the peromance of request has been finished and submits the result. |
DatastoreConfiguration |
getConfiguration()
returns the configuration of the datastore |
DBConnectionPool |
getConnectionPool()
|
void |
handleRequest(OGCWebServiceEvent event)
implements the handleRequest(..) |
void |
handleResponse(OGCWebServiceEvent event)
handles the response of an OGC web service |
boolean |
isInterested(OGCWebServiceEvent event)
returns true if the handler is interested in a event |
boolean |
isKnownFeatureType(java.lang.String featureType)
returns true if the submitted feature type is known by the data store |
void |
registerFeatureType(java.lang.String featureType)
registers a feature type to the data store. |
void |
registerHandler(Handler handler)
registers a Handler so this Handler is able to act as a proxy to the registered handler |
void |
removeFeatureType(java.lang.String featureType)
the inverse operation to registerFeatureType |
void |
removeHandler(Handler handler)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.deegree.services.wfs.DataStore |
describeFeatureType, getFeature, getFeatureWithLock, lockFeature, transaction |
Field Detail |
protected DBConnectionPool pool
protected DatastoreConfiguration config
private javax.swing.event.EventListenerList listenerList
private java.util.List featureTypes
Constructor Detail |
protected AbstractDataStore(java.net.URL datastoreConfigSource) throws DataStoreException
datastoreConfigSource
-
DataStoreException
Method Detail |
public DatastoreConfiguration getConfiguration()
public DBConnectionPool getConnectionPool()
public void registerFeatureType(java.lang.String featureType)
registerFeatureType
in interface DataStore
public void removeFeatureType(java.lang.String featureType)
removeFeatureType
in interface DataStore
registerFeatureType(String)
public boolean isKnownFeatureType(java.lang.String featureType)
isKnownFeatureType
in interface DataStore
public boolean isInterested(OGCWebServiceEvent event)
isInterested
in interface Handler
public void registerHandler(Handler handler)
registerHandler
in interface Handler
public void removeHandler(Handler handler)
removeHandler
in interface Handler
registerHandler(Handler)
public void handleRequest(OGCWebServiceEvent event)
handleRequest
in interface Handler
public void handleResponse(OGCWebServiceEvent event)
Handler
handleResponse
in interface Handler
event
- protected void fireResponse(OGCWebServiceEvent event)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |