org.jvnet.hk2.config
Interface Changed


public interface Changed

Objects that do not wish to process the entire change set of a transaction can implement this interface and use it to invoke utility methods on ConfigSupport.

Author:
Jerome Dochez

Nested Class Summary
static class Changed.TYPE
          type of change on a particular instance
 
Method Summary
<T extends ConfigBeanProxy>
NotProcessed
changed(Changed.TYPE type, Class<T> changedType, T changedInstance)
          Notification of a change on a configuration object
 

Method Detail

changed

<T extends ConfigBeanProxy> NotProcessed changed(Changed.TYPE type,
                                                 Class<T> changedType,
                                                 T changedInstance)
Notification of a change on a configuration object

Parameters:
type - type of change : ADD mean the changedInstance was added to the parent REMOVE means the changedInstance was removed from the parent, CHANGE means the changedInstance has mutated.
changedType - type of the configuration object
changedInstance - changed instance.


Copyright © 2013 Oracle Corporation. All Rights Reserved.