Class DebugConfigurationListener

  • All Implemented Interfaces:
    org.codehaus.plexus.component.configurator.ConfigurationListener

    public class DebugConfigurationListener
    extends java.lang.Object
    implements org.codehaus.plexus.component.configurator.ConfigurationListener
    Copy of deprecated DebugConfigurationListener updated to Slf4j.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.slf4j.Logger logger  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void notifyFieldChangeUsingReflection​(java.lang.String fieldName, java.lang.Object value, java.lang.Object target)  
      void notifyFieldChangeUsingSetter​(java.lang.String fieldName, java.lang.Object value, java.lang.Object target)  
      private java.lang.String toString​(java.lang.Object obj)
      Creates a human-friendly string representation of the specified object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • logger

        private final org.slf4j.Logger logger
    • Constructor Detail

      • DebugConfigurationListener

        public DebugConfigurationListener​(org.slf4j.Logger logger)
    • Method Detail

      • notifyFieldChangeUsingSetter

        public void notifyFieldChangeUsingSetter​(java.lang.String fieldName,
                                                 java.lang.Object value,
                                                 java.lang.Object target)
        Specified by:
        notifyFieldChangeUsingSetter in interface org.codehaus.plexus.component.configurator.ConfigurationListener
      • notifyFieldChangeUsingReflection

        public void notifyFieldChangeUsingReflection​(java.lang.String fieldName,
                                                     java.lang.Object value,
                                                     java.lang.Object target)
        Specified by:
        notifyFieldChangeUsingReflection in interface org.codehaus.plexus.component.configurator.ConfigurationListener
      • toString

        private java.lang.String toString​(java.lang.Object obj)
        Creates a human-friendly string representation of the specified object.
        Parameters:
        obj - The object to create a string representation for, may be null.
        Returns:
        The string representation, never null.