directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r190952 - in /directory/apacheds/trunk/core: ./ src/main/aspects/org/apache/ldap/server/jndi/ProviderNexusAspect.aj
Date Thu, 16 Jun 2005 16:40:52 GMT
Author: akarasulu
Date: Thu Jun 16 09:40:51 2005
New Revision: 190952

URL: http://svn.apache.org/viewcvs?rev=190952&view=rev
Log:
hmmmm looks like trustin moved stack maintenance to the confguration/context object and i
see why he did not call it a configuration now

Modified:
    directory/apacheds/trunk/core/   (props changed)
    directory/apacheds/trunk/core/src/main/aspects/org/apache/ldap/server/jndi/ProviderNexusAspect.aj

Propchange: directory/apacheds/trunk/core/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Thu Jun 16 09:40:51 2005
@@ -1,4 +1,4 @@
-
+server-work
 target
 *.dump
 *.ser

Modified: directory/apacheds/trunk/core/src/main/aspects/org/apache/ldap/server/jndi/ProviderNexusAspect.aj
URL: http://svn.apache.org/viewcvs/directory/apacheds/trunk/core/src/main/aspects/org/apache/ldap/server/jndi/ProviderNexusAspect.aj?rev=190952&r1=190951&r2=190952&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/aspects/org/apache/ldap/server/jndi/ProviderNexusAspect.aj
(original)
+++ directory/apacheds/trunk/core/src/main/aspects/org/apache/ldap/server/jndi/ProviderNexusAspect.aj
Thu Jun 16 09:40:51 2005
@@ -38,10 +38,10 @@
     
     /** 
      * Adds a static ThreadLocal for a Stack of LdapContexts representing nested
-     * backend nexus calls made by the DefaultContextFactoryContext's contexts within the
same 
+     * backend nexus calls made by the DefaultContextFactoryConfiguration's contexts within
the same
      * thread of execution.
      */
-    private static ThreadLocal DefaultContextFactoryContext.s_contextStacks = new ThreadLocal();
+    private static ThreadLocal DefaultContextFactoryConfiguration.s_contextStacks = new ThreadLocal();
     
     
     // ------------------------------------------------------------------------
@@ -55,7 +55,7 @@
      * 
      * @param context the caller or the current context for the nexus call
      */
-    private static void DefaultContextFactoryContext.push( LdapContext context )
+    private static void DefaultContextFactoryConfiguration.push( LdapContext context )
     {
         Stack stack = ( Stack ) s_contextStacks.get();
         
@@ -75,7 +75,7 @@
      * 
      * @return the last LdapContext or caller
      */
-    private static LdapContext DefaultContextFactoryContext.pop()
+    private static LdapContext DefaultContextFactoryConfiguration.pop()
     {
         Stack stack = ( Stack ) s_contextStacks.get();
         
@@ -93,7 +93,7 @@
      * 
      * @return the current LdapContext or caller
      */
-    static LdapContext DefaultContextFactoryContext.peek()
+    static LdapContext DefaultContextFactoryConfiguration.peek()
     {
         Stack stack = ( Stack ) s_contextStacks.get();
         
@@ -118,7 +118,7 @@
      */    
     private static Stack getContextStack()
     {
-        Stack stack = ( Stack ) DefaultContextFactoryContext.s_contextStacks.get();
+        Stack stack = ( Stack ) DefaultContextFactoryConfiguration.s_contextStacks.get();
         
         if ( stack == null )
         {
@@ -192,7 +192,7 @@
     before( Context caller ):
         jndiNexusCalls( caller )
         {
-    		DefaultContextFactoryContext.push( ( LdapContext ) caller );
+    		DefaultContextFactoryConfiguration.push( ( LdapContext ) caller );
             //System.out.println( "\npushed " + caller + " for join point "
             //    + thisJoinPoint );
         }
@@ -201,7 +201,7 @@
     after( Context caller ):
         jndiNexusCalls( caller ) 
         {
-            LdapContext head = DefaultContextFactoryContext.pop();
+            LdapContext head = DefaultContextFactoryConfiguration.pop();
             //System.out.println( "\npopped " + caller + " for join point "
             //    + thisJoinPoint );
         }



Mime
View raw message