src/com/vordel/circuit/script/ExtendedScriptFilterProcessor.java
private static Object invokeFunction(ScriptEngine engine, String name, Object... args) throws NoSuchMethodException, ScriptException {
		Invocable invocableEngine = (Invocable) engine;

		return invocableEngine.invokeFunction(name, args);
	}
/**
	 * Simple convenience method to invoke functions in the script.
	 * 
	 * @param name
	 *            function name
	 * @param args
	 *            variable arguments array
	 * @return function result (as an object)
	 * @throws NoSuchMethodException
	 *             if the function does not exists
	 * @throws ScriptException
	 *             in case an error is raised within the script
	 */
Simple convenience method to invoke functions in the script.


Simple convenience method to invoke functions in the script .
private static Object invokeFunction(ScriptEngine engine, String name, Object... args) throws NoSuchMethodException, ScriptException {
		Invocable invocableEngine = (Invocable) engine;
		return invocableEngine.invokeFunction(name, args);
	}
private static Object invokeFunction ( ScriptEngine engine , String name , Object ... args ) throws NoSuchMethodException , ScriptException { Invocable invocableEngine = ( Invocable ) engine ; return invocableEngine . invokeFunction ( name , args ) ; }
Simple convenience method to invoke functions in the script.
Simple convenience method to invoke functions in the script .