Hi Craig!
>> >> 1) Speedup of startup
>
> See my response on your JIRA issue ...
The JIRA issue and this topic are two completely different things.
Please take a look at the patch and you'll see.

> if the developer *does* include this
> context init parameter, then it seem that we would have to analyze *all*
> JARs in WEB-INF/lib,
No. You can get access to a package listing by.
* converting the class name to a path name: org.apache.shale =
org/apache/shale
* then use classLoader.getResources(path)
then you'll get a list of urls where you can get a "directory listing"
of (even if within an jar)
* then convert the "directory listing" back to class names
* scan the classes

you are done ...

You do NOT have to scan all classes. Thats the point.


Ciao,
Mario

Reply via email to