BBjInterpreter::executeInInterpreterContext
Description
Executes a Java Callable in the BBjInterpreter context. If called from the interpreter thread, the Callable executes immediately; otherwise, it is dispatched to the interpreter context and executed asynchronously, a BBjException is thrown if the Callable cannot be dispatched to the interpreter context or if execution fails.
Syntax
| Return Value | Method |
|---|---|
| Future<T> | executeInInterpreterContext(Callable<T> p_callable) |
Parameters
| Variable | Description |
|---|---|
| p_callable | A Java Callable to execute in the BBj interpreter context. |
Return Value
Returns a Future representing the result of the Callable execution. If the Callable executes immediately, the Future is already completed.
See Also
BBj Object Creation and Assignment
See the BBj Object Diagram for an illustration of the relationship between BBj Objects.