directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r190949 - in /directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi: AbstractContextFactory.java ContextFactoryConfiguration.java ContextFactoryContext.java CoreContextFactory.java DefaultContextFactoryConfiguration.java DefaultContextFactoryContext.java RootNexusProxy.java
Date Thu, 16 Jun 2005 16:27:48 GMT
Author: akarasulu
Date: Thu Jun 16 09:27:47 2005
New Revision: 190949

URL: http://svn.apache.org/viewcvs?rev=190949&view=rev
Log:
renaming ContextFactoryContext to ContextFactoryConfiguration: did same with defualt bean
for this interface

Added:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/ContextFactoryConfiguration.java
      - copied, changed from r190945, directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/ContextFactoryContext.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryConfiguration.java
      - copied, changed from r190945, directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryContext.java
Removed:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/ContextFactoryContext.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryContext.java
Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/CoreContextFactory.java
    directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/RootNexusProxy.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java?rev=190949&r1=190948&r2=190949&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/AbstractContextFactory.java
Thu Jun 16 09:27:47 2005
@@ -54,7 +54,7 @@
     // ------------------------------------------------------------------------
 
     /** The singleton JndiProvider instance */
-    private static final ContextFactoryContext provider = new DefaultContextFactoryContext();
+    private static final ContextFactoryConfiguration provider = new DefaultContextFactoryConfiguration();
 
     /**
      * Default constructor that sets the provider of this ServerContextFactory.
@@ -84,7 +84,7 @@
         }
         else if( cfg instanceof StartupConfiguration )
         {
-            ( ( DefaultContextFactoryContext ) provider ).startup( this, env );
+            ( ( DefaultContextFactoryConfiguration ) provider ).startup( this, env );
         }
         else
         {
@@ -160,10 +160,10 @@
         return principal;
     }
     
-    protected abstract void beforeStartup( ContextFactoryContext ctx ) throws NamingException;
-    protected abstract void afterStartup( ContextFactoryContext ctx ) throws NamingException;
-    protected abstract void beforeShutdown( ContextFactoryContext ctx ) throws NamingException;
-    protected abstract void afterShutdown( ContextFactoryContext ctx ) throws NamingException;
-    protected abstract void beforeSync( ContextFactoryContext ctx ) throws NamingException;
-    protected abstract void afterSync( ContextFactoryContext ctx ) throws NamingException;
+    protected abstract void beforeStartup( ContextFactoryConfiguration ctx ) throws NamingException;
+    protected abstract void afterStartup( ContextFactoryConfiguration ctx ) throws NamingException;
+    protected abstract void beforeShutdown( ContextFactoryConfiguration ctx ) throws NamingException;
+    protected abstract void afterShutdown( ContextFactoryConfiguration ctx ) throws NamingException;
+    protected abstract void beforeSync( ContextFactoryConfiguration ctx ) throws NamingException;
+    protected abstract void afterSync( ContextFactoryConfiguration ctx ) throws NamingException;
 }

Copied: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/ContextFactoryConfiguration.java
(from r190945, directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/ContextFactoryContext.java)
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/ContextFactoryConfiguration.java?p2=directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/ContextFactoryConfiguration.java&p1=directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/ContextFactoryContext.java&r1=190945&r2=190949&rev=190949&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/ContextFactoryContext.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/ContextFactoryConfiguration.java
Thu Jun 16 09:27:47 2005
@@ -27,7 +27,7 @@
 import org.apache.ldap.server.invocation.Invocation;
 import org.apache.ldap.server.schema.GlobalRegistries;
 
-public interface ContextFactoryContext
+public interface ContextFactoryConfiguration
 {
     /**
      * Returns the initial context environment of this context factory.

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/CoreContextFactory.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/CoreContextFactory.java?rev=190949&r1=190948&r2=190949&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/CoreContextFactory.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/CoreContextFactory.java
Thu Jun 16 09:27:47 2005
@@ -45,27 +45,27 @@
     {
     }
 
-    protected void beforeStartup( ContextFactoryContext ctx ) throws NamingException
+    protected void beforeStartup( ContextFactoryConfiguration ctx ) throws NamingException
     {
     }
 
-    protected void afterStartup( ContextFactoryContext ctx ) throws NamingException
+    protected void afterStartup( ContextFactoryConfiguration ctx ) throws NamingException
     {
     }
     
-    protected void beforeShutdown( ContextFactoryContext ctx ) throws NamingException
+    protected void beforeShutdown( ContextFactoryConfiguration ctx ) throws NamingException
     {
     }
     
-    protected void afterShutdown( ContextFactoryContext ctx ) throws NamingException
+    protected void afterShutdown( ContextFactoryConfiguration ctx ) throws NamingException
     {
     }
     
-    protected void beforeSync( ContextFactoryContext ctx ) throws NamingException
+    protected void beforeSync( ContextFactoryConfiguration ctx ) throws NamingException
     {
     }
 
-    protected void afterSync( ContextFactoryContext ctx ) throws NamingException
+    protected void afterSync( ContextFactoryConfiguration ctx ) throws NamingException
     {
     }
 }

Copied: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryConfiguration.java
(from r190945, directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryContext.java)
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryConfiguration.java?p2=directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryConfiguration.java&p1=directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryContext.java&r1=190945&r2=190949&rev=190949&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryContext.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/DefaultContextFactoryConfiguration.java
Thu Jun 16 09:27:47 2005
@@ -70,7 +70,7 @@
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
-class DefaultContextFactoryContext implements ContextFactoryContext
+class DefaultContextFactoryConfiguration implements ContextFactoryConfiguration
 {
     private AbstractContextFactory factory;
     
@@ -109,7 +109,7 @@
     /**
      * Creates a new instance.
      */
-    public DefaultContextFactoryContext()
+    public DefaultContextFactoryConfiguration()
     {
         // Register shutdown hook.
         Runtime.getRuntime().addShutdownHook( new Thread( new Runnable() {

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/RootNexusProxy.java
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/RootNexusProxy.java?rev=190949&r1=190948&r2=190949&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/RootNexusProxy.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/ldap/server/jndi/RootNexusProxy.java
Thu Jun 16 09:27:47 2005
@@ -49,9 +49,9 @@
 
 class RootNexusProxy implements PartitionNexus
 {
-    private final ContextFactoryContext provider;
+    private final ContextFactoryConfiguration provider;
 
-    RootNexusProxy( ContextFactoryContext provider )
+    RootNexusProxy( ContextFactoryConfiguration provider )
     {
         this.provider = provider;
     }



Mime
View raw message