[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Re: Relying on ClassLoader.getResource results in unexpected

david.lloyd@jboss.com do-not-reply at jboss.com
Thu May 15 10:40:44 EDT 2008


I don't know of any other way to either verify the existence (well, potential loadability) of a class without loading it, or getting the actual class bytes, than using the getResource methods.  I know that we (in the Remoting project) also use the getResource methods to get the class bytes to transmit when using remote classloading.  I think it's reasonable to require the user to implement at least getResource(URL) in their custom classloader.

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

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



More information about the jboss-dev-forums mailing list