| java.lang.Object org.apache.harmony.lang.ClassLoaderInfo
ClassLoaderInfo | public class ClassLoaderInfo (Code) | | author: Evgueni Brevnov, Roman S. Bushmanov version: $Revision: 1.1.6.4 $ |
Method Summary | |
public static boolean | hasSystemClassLoader(Class> clazz) Answers if the specified class was defined by the system class loader or
on of its ancestors. | public static boolean | isSystemClassLoader(ClassLoader classLoader) Answers if the specified class loader is the system class loader or on of
its ancestors.
Parameters: classLoader - class loader to test true if the specified class loader is the system class loader oron of its ancestors, false otherwise. |
hasSystemClassLoader | public static boolean hasSystemClassLoader(Class> clazz)(Code) | | Answers if the specified class was defined by the system class loader or
on of its ancestors. The behaviour is undefined if clazz is equal to null.
Parameters: clazz - class which class loader should be tested true if the specified class was defined by the system classloader or on of its ancestors, false otherwise. This methodreturns true if defining class loader is null. |
isSystemClassLoader | public static boolean isSystemClassLoader(ClassLoader classLoader)(Code) | | Answers if the specified class loader is the system class loader or on of
its ancestors.
Parameters: classLoader - class loader to test true if the specified class loader is the system class loader oron of its ancestors, false otherwise. This method returns true ifnull is passed. |
|
|