JavaSession class (LotusScript® Language)

JavaSession is the starting point for access to the Java objects. The session attaches to the existing JVM, if there is one. If a JVM has not been started, the LotusScript® client tries to create the JVM and apply all the specified arguments. You can create as many JavaSessions as you want. All the resources created are associated with a particular session. Delete the session object to reclaim the resources.

Properties

None

Methods

ClearJavaError method

GetClass method

GetLastJavaError method

Creation and access

To access the current JVM session.

Syntax

Dim variableName As New JavaSession

OR

Set javaSession = New JavaSession

Parameter

Arguments for this class are not documented because they are overwritten by Notes®. These arguments are for internal use only.

Example