BBjAPI::getInterpreter

Description

In BBj 25.03 and higher, it returns a BBjInterpreter object that provides access to selected BBj interpreter functionality through a Java API. This object allows Java code to invoke interpreter-level operations such as executing BBj commands, calling BBj programs, and managing interpreter behavior without direct access to the BBj language.

Syntax

Return Value Method
BBjInterpreter getInterpreter()

Parameters

None.

Return Value

Returns a BBjInterpreter object that provides access to interpreter-level functionality through the Java API.

Remarks

BBjInterpreter methods need to be called from the correct interpreter context, meaning they need to be called from the same thread that created the BBjAPI while the interpreter is still running. They will throw an error if they are called from the wrong context.

See Also

BBjAPI

BBj Object Creation and Assignment

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.