[jboss-user] [Advanced Documentation] - org.jboss.classloader.spi.base.BaseClassLoader API
davecasserly
do-not-reply at jboss.com
Fri Mar 6 05:27:32 EST 2009
Hi,
I'm using jboss 5.0.1.GA.
Anybody know where i can find the source or the API to
org.jboss.classloader.spi.base.BaseClassLoader ?
When my application deploys i am getting a reference to the classloader. (ApplicationClassScanner is on of my classes)
| ClassLoader detectedClassLoader = ApplicationClassScanner.class.getClassLoader();
|
On jboss 4.5 - it used to return a class called org.jboss.mx.loading...something, i can't remember exactly. But i used reflection to execute a method called getClasspath() which returned a list of URLs of all the classpath entries.
Anyway, the classloader has changed and my code is now broken because the new classloader doesn't have this method.
I've used reflection to print out all the methods it supports, but none seem correct and i just can't seem to get a list of all the classpath entries for my loaded web application.
Any ideas.... or just tell me where the api or source is for this class. I've searched internet, and downloaded jboss source, but its just not in there - even though a lot of the other source imports this class.... i dont' get it!
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215645#4215645
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215645
More information about the jboss-user
mailing list