net.refractions.udig.catalog.memory
Class ActiveMemoryDataStore

java.lang.Object
  extended by MemoryDataStore
      extended by net.refractions.udig.catalog.memory.ActiveMemoryDataStore

public class ActiveMemoryDataStore
extends MemoryDataStore

This is an extended MemoryDataStore which provides proper event notification. Clients wishing to supply their own sub-class of MemoryDataStore for use in the MemoryService extension should sub-class this class, as that will permit the Catalog to be notified by events.

Since:
0.6.0
Author:
mleslie, rgould

Constructor Summary
ActiveMemoryDataStore()
          Construct AnotherMemoryDataStore.
ActiveMemoryDataStore(FeatureCollection collection)
          Construct AnotherMemoryDataStore.
 
Method Summary
 void addListener(MemoryServiceListener listener)
          TODO summary sentence for addFeatureListener ...
 void createSchema(FeatureType featureType)
           
 boolean removeListener(MemoryServiceListener listener)
          TODO summary sentence for removeFeatureListener ...
 void removeSchema(java.lang.String typeName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActiveMemoryDataStore

public ActiveMemoryDataStore()
Construct AnotherMemoryDataStore.


ActiveMemoryDataStore

public ActiveMemoryDataStore(FeatureCollection collection)
Construct AnotherMemoryDataStore.

Parameters:
collection -
Method Detail

addListener

public void addListener(MemoryServiceListener listener)
TODO summary sentence for addFeatureListener ...

Parameters:
listener -

removeListener

public boolean removeListener(MemoryServiceListener listener)
TODO summary sentence for removeFeatureListener ...

Parameters:
listener -
Returns:
true if removed

createSchema

public void createSchema(FeatureType featureType)
                  throws java.io.IOException
Throws:
java.io.IOException

removeSchema

public void removeSchema(java.lang.String typeName)