User: starksm Date: 02/02/16 09:56:55 Modified: src/main/org/jboss/naming ENCFactory.java Log: There is no TraceContext Revision Changes Path 1.8 +2 -11 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.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- ENCFactory.java 16 Feb 2002 05:35:41 -0000 1.7 +++ ENCFactory.java 16 Feb 2002 17:56:54 -0000 1.8 @@ -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.7 $ + * @version $Revision: 1.8 $ */ public class ENCFactory implements ObjectFactory @@ -30,7 +30,6 @@ // Attributes ---------------------------------------------------- private static WeakHashMap encs = new WeakHashMap(); - private static WeakHashMap encToLoaderMap = new WeakHashMap(); private static ClassLoader topLoader; // Static -------------------------------------------------------- @@ -43,13 +42,6 @@ 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 -------------------------------------------------- @@ -81,9 +73,8 @@ if( compCtx == null ) { NamingServer srv = new NamingServer(); - compCtx = new TraceContext(environment, null, srv); + compCtx = new NamingContext(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