Package org.apache.felix.gogo.runtime
Class Reflective
java.lang.Object
org.apache.felix.gogo.runtime.Reflective
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
NO_MATCH
-
MAIN
- See Also:
-
KEYWORDS
-
-
Constructor Details
-
Reflective
public Reflective()
-
-
Method Details
-
invoke
public static Object invoke(CommandSession session, Object target, String name, List<Object> args) throws 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:
Exception
-