directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ersi...@apache.org
Subject svn commit: r440050 - /directory/sandbox/ersiner/sptriggerdemo/src/main/java/sptriggerdemo/SPMainDemo.java
Date Mon, 04 Sep 2006 12:29:24 GMT
Author: ersiner
Date: Mon Sep  4 05:29:24 2006
New Revision: 440050

URL: http://svn.apache.org/viewvc?view=rev&rev=440050
Log:
Fixed resource loading issues.

Modified:
    directory/sandbox/ersiner/sptriggerdemo/src/main/java/sptriggerdemo/SPMainDemo.java

Modified: directory/sandbox/ersiner/sptriggerdemo/src/main/java/sptriggerdemo/SPMainDemo.java
URL: http://svn.apache.org/viewvc/directory/sandbox/ersiner/sptriggerdemo/src/main/java/sptriggerdemo/SPMainDemo.java?view=diff&rev=440050&r1=440049&r2=440050
==============================================================================
--- directory/sandbox/ersiner/sptriggerdemo/src/main/java/sptriggerdemo/SPMainDemo.java (original)
+++ directory/sandbox/ersiner/sptriggerdemo/src/main/java/sptriggerdemo/SPMainDemo.java Mon
Sep  4 05:29:24 2006
@@ -27,7 +27,6 @@
 import org.apache.directory.shared.ldap.name.LdapDN;
 import org.apache.directory.shared.ldap.sp.JavaStoredProcedureUtils;
 import org.apache.directory.shared.ldap.sp.LdapContextParameter;
-import org.apache.directory.shared.ldap.trigger.TriggerUtils;
 
 import sptriggerdemo.common.BulkOperations;
 
@@ -40,7 +39,7 @@
 public class SPMainDemo
 {
     private static String host = "localhost";
-    private static int port = 1025;
+    private static int port = 1027;
 
 
     private static LdapContext connectToServer() throws NamingException
@@ -61,7 +60,7 @@
 
         LdapContext spCtx = ( LdapContext ) ctx.lookup( "ou=Stored Procedures" );
 
-        JavaStoredProcedureUtils.loadStoredProcedureClass( spCtx, BulkOperations.class.getName(),
SPMainDemo.class );
+        JavaStoredProcedureUtils.loadStoredProcedureClass( spCtx, BulkOperations.class.getName(),
BulkOperations.class );
 
         JavaStoredProcedureUtils.callStoredProcedure( ctx, BulkOperations.class.getName()
+ ".delSubtree",
             new Object[] { new LdapContextParameter( "ou=system" ), new LdapDN( "ou=Mailing
Lists") } );



Mime
View raw message