| java.lang.Object org.kuali.rice.util.ClassLoaderUtils
ClassLoaderUtils | public class ClassLoaderUtils (Code) | | Provides common utility methods for dealing with Classloaders.
author: Kuali Rice Team (kuali-rice@googlegroups.com) |
getDefaultClassLoader | public static ClassLoader getDefaultClassLoader()(Code) | | Returns the default class loader within the current context. If there is a context classloader
it is returned, otherwise the classloader which loaded the ClassLoaderUtil Class is returned.
the appropriate default classloader which is guaranteed to be non-null |
getInterfacesToProxy | public static Class[] getInterfacesToProxy(Object object, ClassLoader proxyClassLoader, String[] packageNamesToFilter)(Code) | | Determines the interfaces which need to be proxied and are visible to the given proxy ClassLoader.
|
isClassVisible | public static boolean isClassVisible(ClassLoader classLoader, Class classToCheck)(Code) | | Checks if the given Class is visible to the given ClassLoader.
|
isInstanceOf | public static boolean isInstanceOf(Object object, Class instanceClass)(Code) | | Checks if the given object is an instance of the given class, unwrapping any proxies if
necessary to get to the underlying object.
|
|
|