public class BrokerClassLoader extends Object
| Constructor and Description |
|---|
BrokerClassLoader() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
loadClass(String className,
Class<T> returnClassName)
Return a new object from the given class name.
|
public static <T> T loadClass(String className, Class<T> returnClassName) throws ClassNotFoundException, IllegalAccessException, InstantiationException
className - full qualified class namereturnClassName - class of the returned objectClassNotFoundException - if class is not found in the class loaderIllegalAccessException - if the object constructor is not accessibleInstantiationException - if the object cannot be initializedCopyright © 2018 WSO2. All rights reserved.