ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darrell DeBoer <darr...@apache.org>
Subject Re: How to provide reusable ClassPaths in ANT
Date Wed, 18 Dec 2002 00:24:49 GMT
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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message