On Wed, 18 Dec 2002 01:48, Costin Manolache wrote:
> BTW, JMX has an interesting model with a loader repository where all
> class loaders are registered, and it'll look into all loaders in a
> repository when trying to create an mbean. ( you can also request an
> explicit loader).

Indeed. Adam Murdoch coded up something very similar in the Myrmidon proposal, 
I think. From memory, this development allowed a classloader to be made up of 
an aggregation of delegate classloaders, instead of requiring a simple tree 
of classloaders (where common stuff must be in a common ancestor). This way, 
2 classloaders that need classes in common could share a classloader that 
loaded those classes, without needing to load those classes in a common 
ancestor. (I'm sure Adam can explain it all a lot better than I).

Might be worth having a look at the code - even if it's just for ideas.

-- 
ciao,
Daz

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to