ConfigStore Listeners

The ConfigStore class has the following listener methods:

- {@link oaj.config.store.ConfigStore}
  - {@link oaj.config.store.ConfigStore#register(String,ConfigStoreListener) register(String,ConfigStoreListener)} - Register a listener on the specified config name.
  - {@link oaj.config.store.ConfigStore#unregister(String,ConfigStoreListener) unregister(String,ConfigStoreListener)} - Unregister a listener on the specified config name.

Note that this is a different listener than {@link oaj.config.event.ConfigEventListener}. In this case, we're just listening for changed files:

- {@link oaj.config.store.ConfigStoreListener}
  - {@link oaj.config.store.ConfigStoreListener#onChange(String)} - Called when file changes. New contents are passed in.

This listener is used by the Config class to listen for changes on the file system so that it can be updated in real-time.