This is why there is a dynamic url notion.
| /** HashSet<UCL> of class loaders in the repository that have a dynamic
| * URL associated with them. Such a class loader is added to every package
| * class loader set in #getPackageClassLoaders(String).
| */
| private HashSet dynamicClassLoaders = new HashSet();
|
|
A dynamic URL is one that has a dynamic=true query parameter added to the URL. The aop
class generation layer uses this to treat the server/tmp/aopdynclasses dir as containing
such classes:
| URL tmpURL = tempdir.toURL();
| URL tmpCP = new URL(tmpURL, "?dynamic=true");
|
Otherwise, putting the classes in a directory associated with the war class loader would
also work since it does not use the ucl by default.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3986387#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...