org.iids.aos.util
Class ClassUtils

java.lang.Object
  extended by org.iids.aos.util.ClassUtils

public class ClassUtils
extends java.lang.Object

Utility methods related to class loading.

Author:
Patrick Verkaik ,

Constructor Summary
ClassUtils()
           
 
Method Summary
static java.lang.String classLoader2String(java.lang.Class clazz)
          Returns a string representation of the given class's loader and all of its parents.
static java.lang.String classLoader2String(java.lang.ClassLoader cl)
          Returns a string representation of the given class loader and all of its parents.
static java.lang.String contextClassLoader2String()
          Returns a string representation of the calling thread's context class loader and all of its parents.
static java.lang.String systemClassLoader2String()
          Returns a string representation of system class loader and all of its parents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassUtils

public ClassUtils()
Method Detail

classLoader2String

public static java.lang.String classLoader2String(java.lang.ClassLoader cl)
Returns a string representation of the given class loader and all of its parents.


classLoader2String

public static java.lang.String classLoader2String(java.lang.Class clazz)
Returns a string representation of the given class's loader and all of its parents.


systemClassLoader2String

public static java.lang.String systemClassLoader2String()
Returns a string representation of system class loader and all of its parents.


contextClassLoader2String

public static java.lang.String contextClassLoader2String()
Returns a string representation of the calling thread's context class loader and all of its parents.



Copyright © 2003, 2004 IIDS Group. All Rights Reserved.