directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r885495 - in /directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema: SchemaManager.java registries/Registries.java
Date Mon, 30 Nov 2009 16:57:26 GMT
Author: elecharny
Date: Mon Nov 30 16:57:25 2009
New Revision: 885495

URL: http://svn.apache.org/viewvc?rev=885495&view=rev
Log:
o Added some Javadoc
o Renamed a method

Modified:
    directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java
    directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java

Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java?rev=885495&r1=885494&r2=885495&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java
(original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/SchemaManager.java
Mon Nov 30 16:57:25 2009
@@ -549,13 +549,14 @@
 
 
     /**
-     * Registers a new SchemaObject.
+     * Registers a new SchemaObject. The registries will be updated only if it's
+     * consistent after this addition, if the SchemaManager is in Strict mode.
      *
      * @param schemaObject the SchemaObject to register
      * @throws NamingException if the SchemaObject is already registered or
      * the registration operation is not supported
      */
-    void register( SchemaObject schemaObject ) throws NamingException;
+    void add( SchemaObject schemaObject ) throws NamingException;
 
 
     /**

Modified: directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java?rev=885495&r1=885494&r2=885495&view=diff
==============================================================================
--- directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java
(original)
+++ directory/shared/branches/shared-schema/ldap/src/main/java/org/apache/directory/shared/ldap/schema/registries/Registries.java
Mon Nov 30 16:57:25 2009
@@ -1350,7 +1350,8 @@
 	
 	
     /**
-     * Applies the added SchemaObject to the given register
+     * Applies the added SchemaObject to the given register. This method is common
+     * to all the addition operations (LDAP injection or schema loading).
      */
     public void add( SchemaObject schemaObject ) throws NamingException
     {



Mime
View raw message