|
Oracle Fusion Middleware JWT Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E26380-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.restsec.jwt.ReflectionUtils
public class ReflectionUtils
Constructor Summary | |
---|---|
ReflectionUtils() |
Method Summary | |
---|---|
static java.lang.Object |
createClassInstance(java.lang.Class<?> clazz, java.lang.Class<?>[] paramTypes, java.lang.Object[] paramValues) Construct an object for the class of the given type with the given params (arguments), arguments must match or the construction will fail. |
static java.lang.Class<?> |
getClass(java.lang.String className, boolean initialize, java.lang.ClassLoader classLoader) This method is used to retrieve the class from its name. |
static java.lang.String |
getJarPathLocation(java.lang.String name, java.lang.ClassLoader classLoader) |
static java.lang.reflect.Method |
getMethodInstance(java.lang.Class<?> clazz, java.lang.String methodName, java.lang.Class<?>[] methodParmClasses) * This method will return Method object based on passed arguments. |
static java.lang.Object |
invokeMethodOnObject(java.lang.reflect.Method methodInstance, java.lang.Object objectToInvoke, java.lang.Object[] methodParmValues) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ReflectionUtils()
Method Detail |
---|
public static java.lang.Class<?> getClass(java.lang.String className, boolean initialize, java.lang.ClassLoader classLoader)
className
- a fully qualified class nameclassLoader
- ClassLoader which used to load the class.ClassLoader
OR null if no class can be foundpublic static java.lang.Object createClassInstance(java.lang.Class<?> clazz, java.lang.Class<?>[] paramTypes, java.lang.Object[] paramValues)
clazz
- Class which instance need to be created.paramTypes
- The parameters for the constructor.paramValues
- The parameters value for the constructor.public static java.lang.reflect.Method getMethodInstance(java.lang.Class<?> clazz, java.lang.String methodName, java.lang.Class<?>[] methodParmClasses)
clazz
-methodName
-methodParmClasses
-public static java.lang.Object invokeMethodOnObject(java.lang.reflect.Method methodInstance, java.lang.Object objectToInvoke, java.lang.Object[] methodParmValues)
methodInstance
-objectToInvoke
-methodParmValues
-public static java.lang.String getJarPathLocation(java.lang.String name, java.lang.ClassLoader classLoader)
name
-classLoader
-
|
Oracle Fusion Middleware JWT Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E26380-01 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |