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

--- Comment #3 from Rainer Jung <rainer.j...@kippdata.de> ---
Sorry, me again: if we want to support it in an agent free way, it seems it
woul suffice to add a addTransformer() (or probably better
registerTransformer() and unregisterTranformer()) call to the WebappClassLoader
that maintains a list of added tranformers and calls them in
findResourceInternal() similar to the original spring code. The original spring
code calls all of them in turn until the first one succeeds. Don't know whether
it would be better to proceed calling in registration order to allow mutliple
transformations to occur.

There's no real need to support the proprietry getThrowawayClassLoader()
method, which makes most of the lines unnecessary and we'll also not need the
WeavingTransformer because we can call the registered Transformers directly.

As far as I can see spring can support the getThrowawayClassLoader() on top of
that without subclassing our class loader.

WDYT?

-- 
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