felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall" <he...@ungoverned.org>
Subject Re: ClassLoader.getResources() not overrided
Date Thu, 17 Jan 2008 15:48:13 GMT
Guillaume Sauthier wrote:
> After a bit of digging, instead of using a Factory, with a Java5 
> compiled ContentClassLoader, that add a lot of burden (I know, I've 
> tried that :) ), maybe it could be easier and more elegant to simply 
> have the ContentClassLoader.findResources(String) method implemented 
> using the ISearchPolicy to find the resources instead of just asking 
> the IContentLoader for local resources.
>
> BTW, this scenario will work if the R4SearchPolicyCore return a 
> compund enumeration of ALL the found resources.

That might work, assuming we make the modification that Felix mentioned 
to aggregate all enumerations.

-> richard

>
> Thanks
> --Guillaume
>

Mime
View raw message