org.apache.openejb.util.reflection
Class Reflections
java.lang.Object
org.apache.openejb.util.reflection.Reflections
public final class Reflections
- extends Object
|
Method Summary |
static Method |
findMethod(String name,
Class<?> type,
Class<?>... args)
|
static Object |
get(Object instance,
String field)
|
static Object |
invokeByReflection(Object obj,
String mtdName,
Class<?>[] paramTypes,
Object[] args)
|
static void |
set(Class<?> inClazz,
Object instance,
String field,
Object value)
|
static void |
set(Object instance,
String field,
Object value)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
findMethod
public static Method findMethod(String name,
Class<?> type,
Class<?>... args)
invokeByReflection
public static Object invokeByReflection(Object obj,
String mtdName,
Class<?>[] paramTypes,
Object[] args)
set
public static void set(Object instance,
String field,
Object value)
set
public static void set(Class<?> inClazz,
Object instance,
String field,
Object value)
get
public static Object get(Object instance,
String field)
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.