2 Replies Latest reply on Mar 6, 2009 11:42 AM by David Casserly

    org.jboss.classloader.spi.base.BaseClassLoader API

    David Casserly Newbie

      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!