avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Name of ClassLoaderManager which use Thread.currentThread().getContextClassLoader() directry?
Date Thu, 27 Sep 2001 11:43:36 GMT
On Thu, 27 Sep 2001 21:42, Eung-ju Park wrote:
> It's time to implement readl SingleAppEmbeddor. ;-)
> SingleAppEmbeddor publish Block to outter space.
> therefore Application use same ClassLoader with outter space.
> What is good name for this type of ClassLoaderManager?
> NoopClassLoaderManager or TransparentClassLoaderManager or
> WhiteboxClassLoaderManager or another one?

ContextClassLoaderManager?

> public class FooClassLoadermanager
>     extends AbstractLoggable
>     implements ClassLoaderManager
> {
>     public ClassLoader createClassLoader( final Configuration server, final
> File homeDirectory, final URL classPath )
>     {
>         return Thread.currentThread().getContextClassLoader();
>     }
> }
>
>
> Peter. verify me. ;-)

looks good to me.

-- 
Cheers,

Pete

----------------------------------------------------
"The only way to discover the limits of the possible 
is to go beyond them into the impossible." 
                             -Arthur C. Clarke
----------------------------------------------------

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


Mime
View raw message