Top
NetCOBOL V11.0 J Adapter Class GeneratorUser's Guide
FUJITSU Software

5.3 FJ-JAVA-CONTROL class

The FJ-JAVA-CONTROL class controls the Java VM.

The FJ-JAVA-CONTROL class has the methods shown below:

Table 5.1 Methods used to control Java VM

Method name

Type

Function

JVM-INIT

Factory

Initializes the Java VM (Only at the first calling). Connects the current thread to the Java VM

JVM-ATTACH

Factory

Same as JVM-INIT

JVM-TERMINATE

Factory

Terminates the Java VM (Only at the last calling). Disconnects the current thread from the Java VM

JVM-DETACH

Factory

Disconnects the current thread from the Java VM