- All Known Subinterfaces:
Function,RefCallable,SerializableCallable
- All Known Implementing Classes:
BaseFunction,BoundFunction,Delegator,FunctionObject,IdFunctionObject,JSFunction,KnownBuiltInFunction,LambdaConstructor,LambdaFunction,NativeContinuation,NativeFunction,NativeJavaClass,NativeJavaConstructor,NativeJavaMethod,NativeJavaTopPackage,Require,Synchronizer
public interface Callable
Generic notion of callable object that can execute some script-related code upon request with
specified values for script scope and this objects.
-
Method Summary
-
Method Details
-
call
Perform the call.- Parameters:
cx- the current Context for this threadscope- the scope to use to resolve properties.thisObj- the JavaScriptthisobjectargs- the array of arguments- Returns:
- the result of the call
-