[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: ClassLoading Module usage

kabir.khan@jboss.com do-not-reply at jboss.com
Mon Oct 15 10:14:48 EDT 2007


I seem to need a URL that I can write to. I am currently just loading the generated classes directly with the classloader, which works for most things apart from fetching in the generated parent classes from a child domain. This ends up going through the parent domain and calling getResource () on the classloaders belonging to the domain. Since the class files are never written out the class can never be found.

If I were to add a "dynamic" url as you suggest, I still would have a problem of being able to get hold of it for a given classloader since we don't really have a way to access the underlying classpath?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4095267#4095267

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4095267



More information about the jboss-dev-forums mailing list