LS2J classes

LS2J introduces the concept of a Java object reference. Similar to an OLE object reference, it is not a predefined class; rather, it represents a runtime instance of a Java object. Its properties and methods are determined at run time.

The following table lists the LS2J interface classes.

LS2J class

Description

JavaClass

Represents a Java class.

JavaError

Allows LotusScript® programmers to find an error raised from the Java program.

JavaMethod

Contains information about Java methods in a class.

JavaMethodCollection

Is the enumerator for all the methods in a Java class.

JavaObject

Represents a Java object instance. This is the key to connecting with a Java object.

JavaProperty

Contains information about a Java property in a class.

JavaPropertyCollection

Is the enumerator for all the properties in a Java class.

JavaSession

Represents a connection instance of JVM with which LotusScript® is interfacing.