Not sure but he might be offline for the evening.  
`cvs up -r 1.6 ENCFactory.java` should work until he can commit this
file.

--jason
 
On Fri, 2002-02-15 at 23:03, David Jencks wrote:
> I can't find TraceContext.
> 
> david jencks
> 
> 
> On 2002.02.16 00:35:41 -0500 Scott M Stark wrote:
> >   User: starksm 
> >   Date: 02/02/15 21:35:41
> > 
> >   Modified:    src/main/org/jboss/naming ENCFactory.java
> >   Log:
> >   Add an accessor for determining which ClassLoader was used to create
> >   an ENC context
> >   
> >   Revision  Changes    Path
> >   1.7       +12 -2     jboss/src/main/org/jboss/naming/ENCFactory.java
> >   
> >   Index: ENCFactory.java
> >   ===================================================================
> >   RCS file: /cvsroot/jboss/jboss/src/main/org/jboss/naming/ENCFactory.java,v
> >   retrieving revision 1.6
> >   retrieving revision 1.7
> >   diff -u -r1.6 -r1.7
> >   --- ENCFactory.java       27 Nov 2001 04:49:28 -0000      1.6
> >   +++ ENCFactory.java       16 Feb 2002 05:35:41 -0000      1.7
> >   @@ -21,7 +21,7 @@
> >     *     
> >     *   @author <a href="mailto:[EMAIL PROTECTED]";>Rickard
> > Oberg</a>
> >     *   @author <a href="mailto:[EMAIL PROTECTED]";>Scott Stark</a>
> >   - *   @version $Revision: 1.6 $
> >   + *   @version $Revision: 1.7 $
> >     */
> >    public class ENCFactory
> >       implements ObjectFactory
> >   @@ -30,6 +30,7 @@
> >        
> >       // Attributes ----------------------------------------------------
> >       private static WeakHashMap encs = new WeakHashMap();
> >   +   private static WeakHashMap encToLoaderMap = new WeakHashMap();
> >       private static ClassLoader topLoader;
> >    
> >       // Static --------------------------------------------------------
> >   @@ -42,6 +43,14 @@
> >          return ENCFactory.topLoader;
> >       }
> >    
> >   +   /** Get the ClassLoader that was used to create the given ENC
> > context.
> >   +   */
> >   +   public static ClassLoader getClassLoader(Context compCtx)
> >   +   {
> >   +      ClassLoader loader = (ClassLoader) encToLoaderMap.get(compCtx);
> >   +      return loader;
> >   +   }
> >   +
> >       // Constructors --------------------------------------------------
> >    
> >       // Public --------------------------------------------------------
> >   @@ -72,8 +81,9 @@
> >                if( compCtx == null )
> >                {
> >                   NamingServer srv = new NamingServer();
> >   -               compCtx = new NamingContext(environment, null, srv);
> >   +               compCtx = new TraceContext(environment, null, srv);
> >                   encs.put(ctxClassLoader, compCtx);
> >   +               encToLoaderMap.put(compCtx, ctxClassLoader);
> >                }
> >             }
> >             return compCtx;
> >   
> >   
> >   
> > 
> > _______________________________________________
> > Jboss-development mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/jboss-development
> > 
> > 
> 
> _______________________________________________
> Jboss-development mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/jboss-development



_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to