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
changed
UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
- 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
Copyright © 2013 Oracle Corporation. All Rights Reserved.