directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 53906 - incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi
Date Wed, 06 Oct 2004 21:10:52 GMT
Author: akarasulu
Date: Wed Oct  6 14:10:50 2004
New Revision: 53906

Added:
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/EveJndiProvider.java
      - copied, changed from rev 53886, incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/JndiProviderModule.java
Removed:
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/JndiProviderModule.java
Modified:
   incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ServerContextFactory.java
Log:
renaming JndiProviderModule to EveJndiProvider

Copied: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/EveJndiProvider.java
(from rev 53886, incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/JndiProviderModule.java)
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/JndiProviderModule.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/EveJndiProvider.java
Wed Oct  6 14:10:50 2004
@@ -18,10 +18,10 @@
  * JndiProvider service implementing block.
  * 
  */
-public class JndiProviderModule implements JndiProvider, InvocationHandler
+public class EveJndiProvider implements JndiProvider, InvocationHandler
 {
     /** Singleton instance of this class */
-    private static JndiProviderModule s_singleton = null ;
+    private static EveJndiProvider s_singleton = null ;
     
     /** Interceptor of interceptors in post-invocation pipeline */
     private InterceptorPipeline m_after = new FailFastPipeline() ;
@@ -44,15 +44,15 @@
      * Creates a singlton instance of the JndiProvider.  In the words of the 
      * Highlander, "there can only be one."
      *
-     * @throws IllegalStateException if another JndiProviderModule has already 
+     * @throws IllegalStateException if another EveJndiProvider has already
      * been instantiated.
      */
-    public JndiProviderModule( RootNexus nexus )
+    public EveJndiProvider( RootNexus nexus )
     {
         if ( s_singleton != null )
         {
             throw new IllegalStateException(
-                "Cannot instantiate more than one JndiProviderModule!" ) ;
+                "Cannot instantiate more than one EveJndiProvider!" ) ;
         }
 
         s_singleton = this ;
@@ -71,7 +71,7 @@
 
     /**
      * Enables a ServerContextFactory with a handle to the system wide 
-     * JndiProviderModule instance.
+     * EveJndiProvider instance.
      *
      * @param a_factory the ServerContextFactory to enable
      */
@@ -228,7 +228,7 @@
             }
         }
         
-        throw new IllegalStateException( "The JndiProviderModule's invocation "
+        throw new IllegalStateException( "The EveJndiProvider's invocation "
             + "handler method invoke should never have reached this line" ) ;
     }
 }

Modified: incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ServerContextFactory.java
==============================================================================
--- incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ServerContextFactory.java
(original)
+++ incubator/directory/eve/trunk/backend/core/src/java/org/apache/eve/jndi/ServerContextFactory.java
Wed Oct  6 14:10:50 2004
@@ -23,8 +23,8 @@
  */
 public class ServerContextFactory implements InitialContextFactory
 {
-    /** The singleton JndiProviderModule instance */
-    private JndiProviderModule m_provider = null ;
+    /** The singleton EveJndiProvider instance */
+    private EveJndiProvider m_provider = null ;
 
     
     /**
@@ -32,17 +32,17 @@
      */
     public ServerContextFactory()
     {
-        JndiProviderModule.setProviderOn( this ) ;
+        EveJndiProvider.setProviderOn( this ) ;
     }
     
     
     /**
-     * Enables this ServerContextFactory with a handle to the JndiProviderModule
+     * Enables this ServerContextFactory with a handle to the EveJndiProvider
      * singleton.
      * 
      * @param a_provider the system's singleton JndiProvider service.
      */
-    void setProvider( JndiProviderModule a_provider )
+    void setProvider( EveJndiProvider a_provider )
     {
         m_provider = a_provider ;
     }
@@ -55,7 +55,7 @@
     public Context getInitialContext( Hashtable an_envoronment )
         throws NamingException
     {
-        // fire up the Merlin kernel if we need to
+        // fire up the backend subsystem if we need to
         if ( null == m_provider )
         {
             throw new NotImplementedException() ;

Mime
View raw message