directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gokt...@apache.org
Subject svn commit: r1337888 - in /directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component: DCConfiguration.java util/InterceptorOperation.java
Date Sun, 13 May 2012 13:56:18 GMT
Author: gokturk
Date: Sun May 13 13:56:17 2012
New Revision: 1337888

URL: http://svn.apache.org/viewvc?rev=1337888&view=rev
Log:
* Overall improvements and bug fixes while integrating

Modified:
    directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/DCConfiguration.java
    directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/util/InterceptorOperation.java

Modified: directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/DCConfiguration.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/DCConfiguration.java?rev=1337888&r1=1337887&r2=1337888&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/DCConfiguration.java
(original)
+++ directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/DCConfiguration.java
Sun May 13 13:56:17 2012
@@ -5,7 +5,7 @@ import java.util.ArrayList;
 import java.util.Hashtable;
 import java.util.Iterator;
 import java.util.List;
-
+import java.util.Properties;
 
 
 public class DCConfiguration implements Iterable<DCProperty>
@@ -14,6 +14,8 @@ public class DCConfiguration implements 
     private Hashtable<String, DCProperty> propertyMap;
     private Integer collectionIndex = null;
 
+    private Properties constantProperties = new Properties();
+
 
     public DCConfiguration( List<DCProperty> properties )
     {
@@ -82,4 +84,16 @@ public class DCConfiguration implements 
         this.collectionIndex = collectionIndex;
     }
 
+
+    public void addConstant( String name, Object value )
+    {
+        constantProperties.put( name, value );
+    }
+
+
+    public Object getConstantProperty( String name )
+    {
+        return constantProperties.get( name );
+    }
+
 }

Modified: directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/util/InterceptorOperation.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/util/InterceptorOperation.java?rev=1337888&r1=1337887&r2=1337888&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/util/InterceptorOperation.java
(original)
+++ directory/apacheds/branches/apacheds-osgi/hub/api/src/main/java/org/apache/directory/server/hub/api/component/util/InterceptorOperation.java
Sun May 13 13:56:17 2012
@@ -7,12 +7,14 @@ public class InterceptorOperation
     public static final String BIND = "BIND";
     public static final String COMPARE = "COMPARE";
     public static final String DELETE = "DELETE";
-    public static final String GETROOTDSE = "GETROOTDSE";
-    public static final String HASENTRY = "HASENTRY";
+    public static final String GETROOTDSE = "GET_ROOT_DSE";
+    public static final String HASENTRY = "HAS_ENTRY";
     public static final String LIST = "LIST";
     public static final String LOOKUP = "LOOKUP";
     public static final String MODIFY = "MODIFY";
     public static final String MOVE = "MOVE";
-    public static final String MOVEANDRENAME = "MOVEANDRENAME";
+    public static final String MOVEANDRENAME = "MOVE_AND_RENAME";
     public static final String RENAME = "RENAME";
+    public static final String SEARCH = "SEARCH";
+    public static final String UNBIND = "UNBIND";
 }



Mime
View raw message