https://issues.apache.org/bugzilla/show_bug.cgi?id=55317

--- Comment #2 from Rainer Jung <rainer.j...@kippdata.de> ---
Why would one need to extend the webapp class loader? A quick look to
java.lang.instrument indicates that one should be able to do it with a normal
instrumentation agent. Can you clarify?

The registered ClassFileTransformers will get the classloader passed in in
their transform() call so can decide whether it is a webapp classloader and it
wants to act on the class.

Probably it would be nice if there were an easy way to associate the webapp
with the WebappClassLoader, or at least the WebappLoader could be retrieved
from the WebappClassLoader. From there one can get the necessary info about the
webapp via the container.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to