directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r468868 - /directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/configuration/InterceptorConfiguration.java
Date Sun, 29 Oct 2006 10:08:08 GMT
Author: elecharny
Date: Sun Oct 29 02:08:08 2006
New Revision: 468868

URL: http://svn.apache.org/viewvc?view=rev&rev=468868
Log:
Added a toString method to display the interceptor name.
Usefull when debugging :)

Modified:
    directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/configuration/InterceptorConfiguration.java

Modified: directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/configuration/InterceptorConfiguration.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/configuration/InterceptorConfiguration.java?view=diff&rev=468868&r1=468867&r2=468868
==============================================================================
--- directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/configuration/InterceptorConfiguration.java
(original)
+++ directory/trunks/apacheds/core/src/main/java/org/apache/directory/server/core/configuration/InterceptorConfiguration.java
Sun Oct 29 02:08:08 2006
@@ -98,4 +98,13 @@
             throw new ConfigurationException( "Interceptor is not specified." );
         }
     }
+    
+    
+    /**
+     * Returns a String representing the current interceptor
+     */
+    public String toString()
+    {
+    	return "Interceptor name : '" + name + "'";
+    }
 }



Mime
View raw message