You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Jeremy Boynes <jb...@apache.org> on 2007/02/09 19:40:30 UTC

ClassLoader registry

With the change to using a ComponentManager and URIs for components  
internally, I think we need to decouple ClassLoaders from  
CompositeComponent as well.

I'm going to add a separate ClassLoaderRegistry to the runtime domain  
to do this, something like:
interface ClassLoaderRegistry {
    void register(URI id, ClassLoader classLoader);
    ClassLoader get(URI id);
    void unregister(URI id);
}

The actual classloader implementations will generally be  
MultiParentClassLoader's or CompositeClassLoader's but I don't think  
we need to restrict to that.
--
Jeremy


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