Module org.apache.sis.storage

# Package org.apache.sis.storage.event

package org.apache.sis.storage.event
Provides interfaces and classes for dealing with different types of events fired by resources. The different types of events are specified by the `StoreEvent` subclasses. For example if a warning occurred while reading data from a file, then the `DataStore` implementation should fire a `WarningEvent`.

Events may occur in the following situations:

- When a warning occurred.
- When the data store content changed (e.g. new feature instance added or removed).
- When the data store structure changed (e.g. a column is added in tabular data).
- Any other change at implementation choice.

Users can declare their interest to a specific kind of event.

Since:
  1.4

- Related Packages
  Package
  Description
  org.apache.sis.storage
  Data store base types for retrieving and saving geospatial data in various storage formats.
- Class
  Description
  CascadedStoreEvent<E extends CascadedStoreEvent<E>>
  An event which, when occurring on a parent resource, is also fired by all children resources.
  CloseEvent
  Notifies listeners that a resource or a data store is being closed and should no longer be used.
  StoreEvent
  Parent class of events happening in a data store resource.
  StoreListener<E extends StoreEvent>
  An object which listens for events (typically changes or warnings) occurring in a resource or one of its children.
  StoreListeners
  Holds a list of `StoreListener` instances and provides convenience methods for sending events.
  WarningEvent
  Describes non-fatal errors that occurred in a resource or a data store.