GATE
Version 3.1-2270

gate.event
Interface DatastoreListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
DatabaseAnnotationSetImpl, DatabaseCorpusImpl, DatabaseDocumentImpl, DocumentImpl, OracleDatastoreViewer, SerialCorpusImpl, SerialDatastoreViewer

public interface DatastoreListener
extends EventListener

A listener for DatastoreEvents.


Method Summary
 void resourceAdopted(DatastoreEvent evt)
          Called by a datastore when a new resource has been adopted
 void resourceDeleted(DatastoreEvent evt)
          Called by a datastore when a resource has been deleted
 void resourceWritten(DatastoreEvent evt)
          Called by a datastore when a resource has been wrote into the datastore
 

Method Detail

resourceAdopted

void resourceAdopted(DatastoreEvent evt)
Called by a datastore when a new resource has been adopted


resourceDeleted

void resourceDeleted(DatastoreEvent evt)
Called by a datastore when a resource has been deleted


resourceWritten

void resourceWritten(DatastoreEvent evt)
Called by a datastore when a resource has been wrote into the datastore


GATE
Version 3.1-2270