org.rhq.scripting.javascript.engine.util
Class InterfaceImplementor
java.lang.Object
org.rhq.scripting.javascript.engine.util.InterfaceImplementor
public class InterfaceImplementor
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterfaceImplementor
public InterfaceImplementor(Invocable engine)
- Creates a new instance of Invocable
getInterface
public <T> T getInterface(Object thiz,
Class<T> iface)
throws ScriptException
- Throws:
ScriptException
convertResult
protected Object convertResult(Method method,
Object res)
throws ScriptException
- Throws:
ScriptException
convertArguments
protected Object[] convertArguments(Method method,
Object[] args)
throws ScriptException
- Throws:
ScriptException
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.