avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <pe...@apache.org>
Subject Re: DefaultLogTargetFactoryManager
Date Thu, 22 Nov 2001 12:37:28 GMT
On Thu, 22 Nov 2001 23:36, giacomo wrote:
> On Thu, 22 Nov 2001, Leo Sutic wrote:
> > Line 86:
> >                 logTargetFactory =
> >                     (LogTargetFactory)
> > this.getClass().getClassLoader().loadClass( factoryClass ).newInstance();
> >
> > This leads to some classloader issues. Is there a reason for this or can
> > the context class loader be used instead?
>
> Sure, my fault not having used it. Go ahead and change it.

How about using the contextClassLoader first and then if that fails using the 
classes classloader ?

-- 
Cheers,

Pete

-----------------------------------------------
   "You can't depend on your eyes when your 
   imagination is out of focus." -Mark Twain 
-----------------------------------------------

--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message