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
HK2Loader
loadClass
in interface HK2Loader
className
- The descriptor to convert into an ActiveDescriptorMultiException
- If this loader had some problem loading the classCopyright © 2009-2017, Oracle and/or its affiliates. All Rights Reserved.