org.jvnet.hk2.config
Interface ConfigListener


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
 UnprocessedChangeEvents changed(PropertyChangeEvent[] events)
          Notification that @Configured objects that were injected have changed
 

Method Detail

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 © 2012 Oracle Corporation. All Rights Reserved.