directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From trus...@apache.org
Subject svn commit: r193124 - /directory/apacheds/branches/db_refactor/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java
Date Thu, 23 Jun 2005 09:49:20 GMT
Author: trustin
Date: Thu Jun 23 02:49:19 2005
New Revision: 193124

URL: http://svn.apache.org/viewcvs?rev=193124&view=rev
Log:
Revised JavaDoc for AbstractContextFactory

Modified:
    directory/apacheds/branches/db_refactor/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java

Modified: directory/apacheds/branches/db_refactor/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/db_refactor/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java?rev=193124&r1=193123&r2=193124&view=diff
==============================================================================
--- directory/apacheds/branches/db_refactor/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java
(original)
+++ directory/apacheds/branches/db_refactor/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java
Thu Jun 23 02:49:19 2005
@@ -28,11 +28,12 @@
 import org.apache.ldap.server.configuration.ShutdownConfiguration;
 import org.apache.ldap.server.configuration.StartupConfiguration;
 import org.apache.ldap.server.configuration.SyncConfiguration;
+import org.apache.ldap.server.partition.ContextPartition;
 
 
 /**
- * A server-side provider implementation of a InitialContextFactory.  Can be
- * utilized via JNDI API in the standard fashion:
+ * A server-side provider implementation of {@link InitialContextFactory}.
+ * This class can be utilized via JNDI API in the standard fashion:
  *
  * <code>
  * Hashtable env = new Hashtable();
@@ -57,9 +58,9 @@
     private static final ContextFactoryConfiguration provider = new DefaultContextFactoryConfiguration();
 
     /**
-     * Default constructor that sets the provider of this ServerContextFactory.
+     * Creates a new instance.
      */
-    public AbstractContextFactory()
+    protected AbstractContextFactory()
     {
     }
     
@@ -160,10 +161,28 @@
         return principal;
     }
     
+    /**
+     * Invoked before starting up JNDI provider.
+     */
     protected abstract void beforeStartup( ContextFactoryConfiguration ctx ) throws NamingException;
+    /**
+     * Invoked after starting up JNDI provider.
+     */
     protected abstract void afterStartup( ContextFactoryConfiguration ctx ) throws NamingException;
+    /**
+     * Invoked before shutting down JNDI provider.
+     */
     protected abstract void beforeShutdown( ContextFactoryConfiguration ctx ) throws NamingException;
+    /**
+     * Invoked after shutting down JNDI provider.
+     */
     protected abstract void afterShutdown( ContextFactoryConfiguration ctx ) throws NamingException;
+    /**
+     * Invoked before calling {@link ContextPartition#sync()} for all registered {@link ContextPartition}s.
+     */
     protected abstract void beforeSync( ContextFactoryConfiguration ctx ) throws NamingException;
+    /**
+     * Invoked after calling {@link ContextPartition#sync()} for all registered {@link ContextPartition}s.
+     */
     protected abstract void afterSync( ContextFactoryConfiguration ctx ) throws NamingException;
 }



Mime
View raw message