directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r419936 - /directory/trunks/apacheds/core-unit/src/test/resources/org/apache/directory/server/core/trigger/LoggingUtilities.java
Date Fri, 07 Jul 2006 17:51:22 GMT
Author: ersiner
Date: Fri Jul  7 10:51:21 2006
New Revision: 419936

URL: http://svn.apache.org/viewvc?rev=419936&view=rev
Log:
Adding test data.

Added:
    directory/trunks/apacheds/core-unit/src/test/resources/org/apache/directory/server/core/trigger/LoggingUtilities.java

Added: directory/trunks/apacheds/core-unit/src/test/resources/org/apache/directory/server/core/trigger/LoggingUtilities.java
URL: http://svn.apache.org/viewvc/directory/trunks/apacheds/core-unit/src/test/resources/org/apache/directory/server/core/trigger/LoggingUtilities.java?rev=419936&view=auto
==============================================================================
--- directory/trunks/apacheds/core-unit/src/test/resources/org/apache/directory/server/core/trigger/LoggingUtilities.java
(added)
+++ directory/trunks/apacheds/core-unit/src/test/resources/org/apache/directory/server/core/trigger/LoggingUtilities.java
Fri Jul  7 10:51:21 2006
@@ -0,0 +1,14 @@
+package org.apache.directory.server.core.trigger;
+
+import javax.naming.Name;
+import javax.naming.NamingException;
+import javax.naming.ldap.LdapContext;
+
+
+public class LoggingUtilities
+{
+    public static void logWarningForDeletedEntry( LdapContext ctx, Name deletedEntryName,
Name operationPrincipal ) throws NamingException
+    {
+        System.out.println( "User \"" + operationPrincipal + "\" is about to delete entry
\"" + deletedEntryName + "\"." );
+    }
+}



Mime
View raw message