S
- the script interfaceR
- the result of the scriptpublic abstract class AbstractScriptMethodProxy<S,R> extends AbstractMethodProxy<S,R>
m, script, wrapper
Constructor and Description |
---|
AbstractScriptMethodProxy(ScriptWrapper<S> wrapper) |
Modifier and Type | Method and Description |
---|---|
R |
executeMethod(java.lang.Object... args)
Execute the script and return a result.
|
protected abstract R |
executeScriptImpl(java.lang.Object... args)
Execute the script.
|
checkDeclaredArguments, checkRuntimeArguments, convertRuntimeArguments, getScriptWrapper, processException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkDeclaredArguments, executeMethod
public AbstractScriptMethodProxy(ScriptWrapper<S> wrapper)
protected abstract R executeScriptImpl(java.lang.Object... args)
args
- the argumentspublic R executeMethod(java.lang.Object... args)
args
- the argumentsCopyright © 2019-2024 Herve Girod. All Rights Reserved. Documentation and source under the BSD licence