Interface ConfigListener


@Contract public interface ConfigListener
Any object injected with Configured object and willing to receive notifications of changes should implement this interface. The injection manager will hook up automatically the injected resources with this listener implementation. public class Example implements ConfigListener {
Author:
Jerome Dochez
  • Method Details

    • changed

      Notification that @Configured objects that were injected have changed
      Parameters:
      events - list of changes
      Returns:
      the list of unprocessed events (requiring a restart) or null if all reconfiguration was processed successfully