public final class ClassLoaderUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static Class<?> |
loadClass(String className)
Loads a class.
|
static Class<?> |
loadClass(String className,
ClassLoader classLoader)
Loads a class from the given class loader.
|
static void |
registerBundleClassLoader(long bundleId,
ClassLoader classLoader,
List<String> classes)
Registers a bundle classloader.
|
static void |
unregisterAllBundleClassLoaders()
Unregisters all bundle classloaders.
|
static void |
unregisterBundleClassLoader(long bundleId)
Unregisters a bundle classloader.
|
public static void registerBundleClassLoader(long bundleId,
ClassLoader classLoader,
List<String> classes)
public static void unregisterBundleClassLoader(long bundleId)
public static void unregisterAllBundleClassLoaders()
public static Class<?> loadClass(String className) throws ClassNotFoundException
ClassNotFoundExceptionpublic static Class<?> loadClass(String className, ClassLoader classLoader) throws ClassNotFoundException
ClassNotFoundExceptionCopyright © 2009–2017 The Apache Software Foundation. All rights reserved.