是否可以获得 JVM 中所有类加载器的列表,或者至少获得与 Java EE 服务器(在我的例子中为 WebLogic)中的 Web 应用程序关联的所有类加载器的列表。
问问题
11105 次
1 回答
8
There are good overviews on the class loader hierarchy at:
Archived version of http://e-docs.bea.com/wls/docs81/programming/classloading.html
http://weblogic.sys-con.com/node/42876
You can use
ClassLoader.getParent()
to walk through you current application's applications resolution tree, but you really can't look through the children app's class loaders.
于 2009-06-22T12:23:17.537 回答