On 9/29/06, Mario Ivankovits <[EMAIL PROTECTED]> wrote:
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 that is the case, then please comply with my initial request on the JIRA issue. I have absolutely no clue what this change is intended to accomplish.
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.
Your patch, including the embedded comments, is completely opaque on this question. You haven't answered my repeated requests to explain *what* this patch is supposed to do, let alone *why* it would be better. Without answers to both of those questions, it is guaranteed that *I* will not be applying this patch to the codebase. Ciao,
Mario
Craig
