Package org.graalvm.polyglot.proxy
Interface ProxyExecutable
- All Superinterfaces:
Proxy
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface to be implemented to mimic guest language objects that are executable.
- Since:
- 19.0
- See Also:
-
Method Summary
-
Method Details
-
execute
Executes the object with the given arguments and returns its result.- Throws:
UnsupportedOperationException
- if the proxy cannot be executed with the given arguments.- Since:
- 19.0
-