Package org.apache.tuscany.container.javascript.rhino

Examples of org.apache.tuscany.container.javascript.rhino.RhinoScriptInstance.invokeFunction()


    /**
     * Invokes a function on a script instance
     */
    public Object invokeTarget(final Object payload) throws InvocationTargetException {
        RhinoScriptInstance target = context.getTargetInstance();
        return target.invokeFunction(functionName, (Object[]) payload, responseClass);
    }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.