# 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.0

Defined in the `sis-storage` module

- Interface Summary
  Interface | Description
  --- | ---
  StoreListener<T extends StoreEvent> | An object which listens for events (typically changes or warnings) occurring in a resource or one of its children.

- Class Summary
  Class | Description
  --- | ---
  StoreEvent | Parent class of events happening in a data store resource.
  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.