org.apache.felix.gogo.runtime
Class Reflective
java.lang.Object
org.apache.felix.gogo.runtime.Reflective
public final class Reflective
- extends java.lang.Object
Field Summary |
static java.util.Set<java.lang.String> |
KEYWORDS
|
static java.lang.String |
MAIN
|
static java.lang.Object |
NO_MATCH
|
Method Summary |
static java.lang.Object |
invoke(CommandSession session,
java.lang.Object target,
java.lang.String name,
java.util.List<java.lang.Object> args)
invokes the named method on the given target using the supplied args,
which are converted if necessary. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NO_MATCH
public static final java.lang.Object NO_MATCH
MAIN
public static final java.lang.String MAIN
- See Also:
- Constant Field Values
KEYWORDS
public static final java.util.Set<java.lang.String> KEYWORDS
Reflective
public Reflective()
invoke
public static java.lang.Object invoke(CommandSession session,
java.lang.Object target,
java.lang.String name,
java.util.List<java.lang.Object> args)
throws java.lang.Exception
- invokes the named method on the given target using the supplied args,
which are converted if necessary.
- Parameters:
session
- target
- name
- args
-
- Returns:
- the result of the invoked method
- Throws:
java.lang.Exception
Copyright © 2011. All Rights Reserved.