directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1758896 - in /directory/shared/branches/shared-value/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone: CodecFactoryUtil.java StandaloneLdapApiService.java
Date Fri, 02 Sep 2016 08:19:23 GMT
Author: elecharny
Date: Fri Sep  2 08:19:22 2016
New Revision: 1758896

URL: http://svn.apache.org/viewvc?rev=1758896&view=rev
Log:
Updated Javadocs

Modified:
    directory/shared/branches/shared-value/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/CodecFactoryUtil.java
    directory/shared/branches/shared-value/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/StandaloneLdapApiService.java

Modified: directory/shared/branches/shared-value/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/CodecFactoryUtil.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-value/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/CodecFactoryUtil.java?rev=1758896&r1=1758895&r2=1758896&view=diff
==============================================================================
--- directory/shared/branches/shared-value/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/CodecFactoryUtil.java
(original)
+++ directory/shared/branches/shared-value/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/CodecFactoryUtil.java
Fri Sep  2 08:19:22 2016
@@ -94,6 +94,9 @@ public final class CodecFactoryUtil
 
     /**
      * Loads the Controls implement out of the box in the codec.
+     * 
+     * @param controlFactories The Control factories to use
+     * @param apiService The LDAP Service instance to use
      */
     public static void loadStockControls( Map<String, ControlFactory<?>> controlFactories,
LdapApiService apiService )
     {

Modified: directory/shared/branches/shared-value/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/StandaloneLdapApiService.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-value/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/StandaloneLdapApiService.java?rev=1758896&r1=1758895&r2=1758896&view=diff
==============================================================================
--- directory/shared/branches/shared-value/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/StandaloneLdapApiService.java
(original)
+++ directory/shared/branches/shared-value/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/StandaloneLdapApiService.java
Fri Sep  2 08:19:22 2016
@@ -37,19 +37,21 @@ import org.slf4j.LoggerFactory;
 /**
  * The default {@link org.apache.directory.api.ldap.codec.api.LdapApiService} implementation.
  * It loads the Controls and ExtendedOperations as defined in the following system parameters
:
- * <li>Controls :
  * <ul>
- * <li>apacheds.controls</li> ok
- * <li>default.controls</li>
+ *   <li>Controls :
+ *     <ul>
+ *       <li>apacheds.controls</li>
+ *       <li>default.controls</li>
+ *     </ul>
+ *   </li>
+ *   <li>ExtendedOperations :
+ *     <ul>
+ *       <li>apacheds.extendedOperations</li>
+ *       <li>default.extendedOperation.responses</li>
+ *       <li>extra.extendedOperations</li>
+ *     </ul>
+ *   </li>
  * </ul>
- * </li>
- * <li>ExtendedOperations
- * <ul>
- * <li>apacheds.extendedOperations</li> ok
- * <li>default.extendedOperation.responses</li>
- * <li>extra.extendedOperations</ul>
- * </ul>
- * </li>
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$, $Date$
@@ -73,9 +75,8 @@ public class StandaloneLdapApiService ex
 
 
     /**
-     * Creates a new instance of StandaloneLdapCodecService. Optionally checks for
-     * system property {@link #PLUGIN_DIRECTORY_PROPERTY}. 
-     * <br /><br />
+     * Creates a new instance of StandaloneLdapCodecService.
+     * <br><br>
      * The following pom configuration is intended for use by unit test running 
      * tools like Maven's surefire:
      * <pre>
@@ -136,6 +137,8 @@ public class StandaloneLdapApiService ex
      *     &lt;/plugins&gt;
      *   &lt;/build&gt;
      * </pre>
+     * 
+     * @throws Exception If we had an issue initializing the LDAP service
      */
     public StandaloneLdapApiService() throws Exception
     {
@@ -143,6 +146,13 @@ public class StandaloneLdapApiService ex
     }
 
 
+    /**
+     * Creates a new instance of StandaloneLdapApiService.
+     *
+     * @param controls The list of controls to store
+     * @param extendedOperations The list of extended operations to store
+     * @throws Exception If we had an issue with one of the two lists
+     */
     public StandaloneLdapApiService( List<String> controls, List<String> extendedOperations
) throws Exception
     {
         CodecFactoryUtil.loadStockControls( getControlFactories(), this );



Mime
View raw message