directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1027536 - in /directory/apacheds/branches/apacheds-config: core-api/src/main/java/org/apache/directory/server/core/partition/ xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/
Date Tue, 26 Oct 2010 13:11:15 GMT
Author: elecharny
Date: Tue Oct 26 13:11:15 2010
New Revision: 1027536

URL: http://svn.apache.org/viewvc?rev=1027536&view=rev
Log:
Moved the ContextEntry from BTreePartition to AbstractPartition

Modified:
    directory/apacheds/branches/apacheds-config/core-api/src/main/java/org/apache/directory/server/core/partition/AbstractPartition.java
    directory/apacheds/branches/apacheds-config/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java

Modified: directory/apacheds/branches/apacheds-config/core-api/src/main/java/org/apache/directory/server/core/partition/AbstractPartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-config/core-api/src/main/java/org/apache/directory/server/core/partition/AbstractPartition.java?rev=1027536&r1=1027535&r2=1027536&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-config/core-api/src/main/java/org/apache/directory/server/core/partition/AbstractPartition.java
(original)
+++ directory/apacheds/branches/apacheds-config/core-api/src/main/java/org/apache/directory/server/core/partition/AbstractPartition.java
Tue Oct 26 13:11:15 2010
@@ -25,6 +25,7 @@ import javax.naming.InvalidNameException
 import org.apache.directory.server.core.entry.ClonedServerEntry;
 import org.apache.directory.server.core.interceptor.context.EntryOperationContext;
 import org.apache.directory.server.core.interceptor.context.LookupOperationContext;
+import org.apache.directory.shared.ldap.entry.Entry;
 import org.apache.directory.shared.ldap.exception.LdapException;
 import org.apache.directory.shared.ldap.exception.LdapOtherException;
 import org.apache.directory.shared.ldap.schema.SchemaManager;
@@ -44,6 +45,9 @@ public abstract class AbstractPartition 
 
     /** The SchemaManager instance */
     protected SchemaManager schemaManager;
+    
+    /** The partition ContextEntry */
+    private Entry contextEntry;
 
     protected AbstractPartition()
     {
@@ -178,4 +182,22 @@ public abstract class AbstractPartition 
     {
         return schemaManager;
     }
+    
+    
+    /**
+     * @return the contextEntry
+     */
+    public Entry getContextEntry()
+    {
+        return contextEntry;
+    }
+
+
+    /**
+     * @param contextEntry the contextEntry to set
+     */
+    public void setContextEntry( Entry contextEntry )
+    {
+        this.contextEntry = contextEntry;
+    }
 }

Modified: directory/apacheds/branches/apacheds-config/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-config/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java?rev=1027536&r1=1027535&r2=1027536&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-config/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
(original)
+++ directory/apacheds/branches/apacheds-config/xdbm-partition/src/main/java/org/apache/directory/server/core/partition/impl/btree/BTreePartition.java
Tue Oct 26 13:11:15 2010
@@ -82,9 +82,6 @@ public abstract class BTreePartition<ID>
     protected DN suffix;
     private File partitionDir;
 
-    /** The rootDSE context */
-    protected Entry contextEntry;
-    
     /** The set of indexed attributes */
     private Set<Index<? extends Object, Entry, ID>> indexedAttributes;
 



Mime
View raw message