On Monday 03 October 2005 11:24, Noel J. Bergman wrote:
> > I would like to consider approaches for making it work when
> > multiple instances of the framework are in memory
>
> A classloader at the level of a container can be used to provide isolation
> within the container.  Does this fit your need?

Not sure. First thought is; No, since the management needs to sit in the 
System Classloader (or equivalent high level) and it needs to look at the 
caller, which is the one that can be isolated by classloaders.

At the end of the day, the contract to be fulfilled lies in the 
URLStreamHandler and its factory. You are expected to subclass the 
URLStreamHandler and override a bunch of methods, like openConnection(), 
parseURL() and toExternalForm(). The real problem has nothing much to do with 
OSGi. It just try to provide a mechanism to overcome the JVM/JDK limitations 
in a colaboration friendly manner.



Cheers
Niclas

Reply via email to