Package org.jvnet.hk2.config
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 Summary
Modifier and TypeMethodDescriptionchanged(PropertyChangeEvent[] events) Notification that @Configured objects that were injected have changed
-
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
-