directory-commits mailing list archives

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

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

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

Modified: directory/apacheds/branches/db_refactor/core/src/main/java/org/apache/ldap/server/jndi/CoreContextFactory.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/branches/db_refactor/core/src/main/java/org/apache/ldap/server/jndi/CoreContextFactory.java?rev=193125&r1=193124&r2=193125&view=diff
==============================================================================
--- directory/apacheds/branches/db_refactor/core/src/main/java/org/apache/ldap/server/jndi/CoreContextFactory.java
(original)
+++ directory/apacheds/branches/db_refactor/core/src/main/java/org/apache/ldap/server/jndi/CoreContextFactory.java
Thu Jun 23 02:51:02 2005
@@ -21,20 +21,12 @@
 
 
 /**
- * A server-side provider implementation of a InitialContextFactory.  Can be
- * utilized via JNDI API in the standard fashion:
- *
- * <code>
- * Hashtable env = new Hashtable();
- * env.put( Context.PROVIDER_URL, "ou=system" );
- * env.put(
- * Context.INITIAL_CONTEXT_FACTORY, "org.apache.ldap.server.jndi.CoreContextFactory" );
- * InitialContext initialContext = new InitialContext( env );
- * </code>
+ * A simplistic implementation of {@link AbstractContextFactory}.
+ * This class simply extends {@link AbstractContextFactory} and leaves all
+ * abstract hook methods as empty.
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
- * @see javax.naming.spi.InitialContextFactory
  */
 public class CoreContextFactory extends AbstractContextFactory implements InitialContextFactory
 {
@@ -45,26 +37,44 @@
     {
     }
 
+    /**
+     * Does nothing by default.
+     */
     protected void beforeStartup( ContextFactoryConfiguration ctx ) throws NamingException
     {
     }
 
+    /**
+     * Does nothing by default.
+     */
     protected void afterStartup( ContextFactoryConfiguration ctx ) throws NamingException
     {
     }
     
+    /**
+     * Does nothing by default.
+     */
     protected void beforeShutdown( ContextFactoryConfiguration ctx ) throws NamingException
     {
     }
     
+    /**
+     * Does nothing by default.
+     */
     protected void afterShutdown( ContextFactoryConfiguration ctx ) throws NamingException
     {
     }
     
+    /**
+     * Does nothing by default.
+     */
     protected void beforeSync( ContextFactoryConfiguration ctx ) throws NamingException
     {
     }
 
+    /**
+     * Does nothing by default.
+     */
     protected void afterSync( ContextFactoryConfiguration ctx ) throws NamingException
     {
     }



Mime
View raw message