Hi I have a sar file which contains couple of jar files.
Is there way I can get all these jars the same way as I can do with System.getProperty("java.class.path")?
I want to open one of my jar to examine the contents of it.
Thanks.
Only using a jboss specific api.
UnifiedClassLoader ucl = (UnifiedClassLoader) Thread.currentThread().getContextClassLoader();
URL[] urls = cl.getClasspath();
Regards,
Adrian