| Constructor and Description |
|---|
HK2LoaderImpl()
Initializes this HK2Loader with the system classloader
|
HK2LoaderImpl(ClassLoader loader)
Initializes this HK2Loader with the given ClassLoader
|
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
loadClass(String className)
Loads a class given the class name to instantiate
|
String |
toString() |
public HK2LoaderImpl()
public HK2LoaderImpl(ClassLoader loader)
loader - The non-null classloader to use with this
HK2Loaderpublic Class<?> loadClass(String className) throws MultiException
HK2LoaderloadClass in interface HK2LoaderclassName - The descriptor to convert into an ActiveDescriptorMultiException - If this loader had some problem loading the classCopyright © 2009–2019 Oracle Corporation. All rights reserved.