public final class Utils extends Object
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static Method |
findMethod(String name,
Class<?> targetClass)
Finds a method by name on the target class.
|
static Method[] |
findMethods(String name,
Class<?> targetClass)
Finds a method by name on the target class.
|
(package private) static <T> T |
newDefaultInstance(String className)
Creates new instance of the class specified by 'className' by first
loading it using thread context class loader and then executing default
constructor.
|
static <T> T newDefaultInstance(String className)
public static Method findMethod(String name, Class<?> targetClass)
name - method nametargetClass - instance of target classMethodCopyright © 2021 Apache NiFi Project. All rights reserved.