directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r159467 - in directory/apacheds/trunk/core/src: main/java/org/apache/ldap/server/db/ main/java/org/apache/ldap/server/interceptor/ main/java/org/apache/ldap/server/invocation/ test/org/apache/ldap/server/operational/
Date Wed, 30 Mar 2005 07:38:34 GMT
Author: trustin
Date: Tue Mar 29 23:38:30 2005
New Revision: 159467

URL: http://svn.apache.org/viewcvs?view=rev&rev=159467
Log:
* Made Invocation serializable
* Fixed IndexAssertionEnum warning

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/db/IndexAssertionEnumeration.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/interceptor/InterceptorChain.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Add.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Delete.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/GetMatchedDN.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/GetSuffix.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/HasEntry.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Invocation.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/IsSuffix.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/List.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ListSuffixes.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Lookup.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/LookupWithAttrIds.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Modify.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ModifyMany.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ModifyRN.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Move.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/MoveAndModifyRN.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Search.java
    directory/apacheds/trunk/core/src/test/org/apache/ldap/server/operational/BinaryAttributeFilterTest.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/db/IndexAssertionEnumeration.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/db/IndexAssertionEnumeration.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/db/IndexAssertionEnumeration.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/db/IndexAssertionEnumeration.java
Tue Mar 29 23:38:30 2005
@@ -88,7 +88,7 @@
         this.underlying = underlying;
         candidates = new HashMap();
         this.assertion = assertion;
-        checkDups = true;
+        checkDups = enableDupCheck;
         prefetch();
     }
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/interceptor/InterceptorChain.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/interceptor/InterceptorChain.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/interceptor/InterceptorChain.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/interceptor/InterceptorChain.java
Tue Mar 29 23:38:30 2005
@@ -35,8 +35,8 @@
  * interceptor structure to break down complex interceptors.
  * <p/>
  * {@link org.apache.ldap.server.jndi.JndiProvider#invoke(Invocation)}
- * redirects {@link Invocation}s to {@link#process(Invocation)} and the
- * chain starts.
+ * redirects {@link Invocation}s to {@link #process(NextInterceptor, Invocation)}
+ * and the chain starts.
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Add.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Add.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Add.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Add.java
Tue Mar 29 23:38:30 2005
@@ -32,6 +32,7 @@
  */
 public class Add extends Invocation
 {
+    private static final long serialVersionUID = 3258131362430333495L;
 
     private final String userProvidedName;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Delete.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Delete.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Delete.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Delete.java
Tue Mar 29 23:38:30 2005
@@ -31,6 +31,7 @@
  */
 public class Delete extends Invocation
 {
+    private static final long serialVersionUID = 3258134639372677425L;
 
     private Name name;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/GetMatchedDN.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/GetMatchedDN.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/GetMatchedDN.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/GetMatchedDN.java
Tue Mar 29 23:38:30 2005
@@ -32,6 +32,7 @@
  */
 public class GetMatchedDN extends Invocation
 {
+    private static final long serialVersionUID = 3834032467559723826L;
 
     private Name name;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/GetSuffix.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/GetSuffix.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/GetSuffix.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/GetSuffix.java
Tue Mar 29 23:38:30 2005
@@ -32,6 +32,7 @@
  */
 public class GetSuffix extends Invocation
 {
+    private static final long serialVersionUID = 3256443599162980407L;
 
     private Name name;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/HasEntry.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/HasEntry.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/HasEntry.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/HasEntry.java
Tue Mar 29 23:38:30 2005
@@ -31,6 +31,7 @@
  */
 public class HasEntry extends Invocation
 {
+    private static final long serialVersionUID = 3257850974013240370L;
 
     private Name name;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Invocation.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Invocation.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Invocation.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Invocation.java
Tue Mar 29 23:38:30 2005
@@ -17,10 +17,12 @@
 package org.apache.ldap.server.invocation;
 
 
-import org.apache.ldap.server.BackingStore;
+import java.io.Serializable;
+import java.util.Stack;
 
 import javax.naming.NamingException;
-import java.util.Stack;
+
+import org.apache.ldap.server.BackingStore;
 
 
 /**
@@ -33,14 +35,14 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
-public abstract class Invocation
+public abstract class Invocation implements Serializable
 {
 
-    protected Object returnValue;
-
-    protected Stack contextStack;
+    protected transient Object returnValue;
 
+    protected transient Stack contextStack;
 
+    
     /**
      * Creates a new instance.  This constructor does nothing.
      */

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/IsSuffix.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/IsSuffix.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/IsSuffix.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/IsSuffix.java
Tue Mar 29 23:38:30 2005
@@ -31,6 +31,7 @@
  */
 public class IsSuffix extends Invocation
 {
+    private static final long serialVersionUID = 3256723987429273908L;
 
     private Name name;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/List.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/List.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/List.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/List.java
Tue Mar 29 23:38:30 2005
@@ -31,6 +31,7 @@
  */
 public class List extends Invocation
 {
+    private static final long serialVersionUID = 3761971574936776755L;
 
     private Name baseName;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ListSuffixes.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ListSuffixes.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ListSuffixes.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ListSuffixes.java
Tue Mar 29 23:38:30 2005
@@ -31,6 +31,7 @@
  */
 public class ListSuffixes extends Invocation
 {
+    private static final long serialVersionUID = 3258413932589888567L;
 
     private final boolean normalized;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Lookup.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Lookup.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Lookup.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Lookup.java
Tue Mar 29 23:38:30 2005
@@ -31,6 +31,7 @@
  */
 public class Lookup extends Invocation
 {
+    private static final long serialVersionUID = 4049074934456005177L;
 
     private Name name;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/LookupWithAttrIds.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/LookupWithAttrIds.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/LookupWithAttrIds.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/LookupWithAttrIds.java
Tue Mar 29 23:38:30 2005
@@ -31,6 +31,7 @@
  */
 public class LookupWithAttrIds extends Invocation
 {
+    private static final long serialVersionUID = 3257283613060970292L;
 
     private Name name;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Modify.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Modify.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Modify.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Modify.java
Tue Mar 29 23:38:30 2005
@@ -32,6 +32,7 @@
  */
 public class Modify extends Invocation
 {
+    private static final long serialVersionUID = 3258134673732416053L;
 
     private Name name;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ModifyMany.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ModifyMany.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ModifyMany.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ModifyMany.java
Tue Mar 29 23:38:30 2005
@@ -32,6 +32,7 @@
  */
 public class ModifyMany extends Invocation
 {
+    private static final long serialVersionUID = 3258695386024915001L;
 
     private Name name;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ModifyRN.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ModifyRN.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ModifyRN.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/ModifyRN.java
Tue Mar 29 23:38:30 2005
@@ -24,13 +24,14 @@
 
 
 /**
- * Represents an {@link Invocation} on {@link BackingStore#modifyRn(Name, String, boolean)\}.
+ * Represents an {@link Invocation} on {@link BackingStore#modifyRn(Name, String, boolean)}.
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
  */
 public class ModifyRN extends Invocation
 {
+    private static final long serialVersionUID = 3257849883007465528L;
 
     private Name name;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Move.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Move.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Move.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Move.java
Tue Mar 29 23:38:30 2005
@@ -31,6 +31,7 @@
  */
 public class Move extends Invocation
 {
+    private static final long serialVersionUID = 3258132440382978098L;
 
     private Name name;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/MoveAndModifyRN.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/MoveAndModifyRN.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/MoveAndModifyRN.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/MoveAndModifyRN.java
Tue Mar 29 23:38:30 2005
@@ -31,6 +31,7 @@
  */
 public class MoveAndModifyRN extends Invocation
 {
+    private static final long serialVersionUID = 3258135751786248245L;
 
     private Name name;
 

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Search.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Search.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Search.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/invocation/Search.java
Tue Mar 29 23:38:30 2005
@@ -34,6 +34,7 @@
  */
 public class Search extends Invocation
 {
+    private static final long serialVersionUID = 3258410651234678579L;
 
     private Name baseName;
 

Modified: directory/apacheds/trunk/core/src/test/org/apache/ldap/server/operational/BinaryAttributeFilterTest.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/test/org/apache/ldap/server/operational/BinaryAttributeFilterTest.java?view=diff&r1=159466&r2=159467
==============================================================================
--- directory/apacheds/trunk/core/src/test/org/apache/ldap/server/operational/BinaryAttributeFilterTest.java
(original)
+++ directory/apacheds/trunk/core/src/test/org/apache/ldap/server/operational/BinaryAttributeFilterTest.java
Tue Mar 29 23:38:30 2005
@@ -28,7 +28,7 @@
 
 /**
  * Tests to see that the binary property filtering in the schema service's
- * filter class {@link org.apache.ldap.server.jndi.ibs.SchemaService.BinaryAttributeFilter}
is working
+ * filter class {@link org.apache.ldap.server.schema.SchemaService} is working
  * properly.
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>



Mime
View raw message