org.codehaus.plexus.component.configurator
Interface ConfigurationListener


public interface ConfigurationListener

Listen for configuration changes on an object.

Version:
$Id: ConfigurationListener.java 2634 2005-10-08 06:33:08Z brett $
Author:
Brett Porter

Method Summary
 void notifyFieldChangeUsingReflection(java.lang.String fieldName, java.lang.Object value, java.lang.Object target)
          Notify the listener that a field has been set using private field injection.
 void notifyFieldChangeUsingSetter(java.lang.String fieldName, java.lang.Object value, java.lang.Object target)
          Notify the listener that a field has been set using its setter.
 

Method Detail

notifyFieldChangeUsingSetter

public void notifyFieldChangeUsingSetter(java.lang.String fieldName,
                                         java.lang.Object value,
                                         java.lang.Object target)
Notify the listener that a field has been set using its setter.

Parameters:
fieldName - the field
value - the value set
target - the target object

notifyFieldChangeUsingReflection

public void notifyFieldChangeUsingReflection(java.lang.String fieldName,
                                             java.lang.Object value,
                                             java.lang.Object target)
Notify the listener that a field has been set using private field injection.

Parameters:
fieldName - the field
value - the value set
target - the target object


Copyright © 2001-2007 Codehaus. All Rights Reserved.