Declaration


public class JIDLProcessInitializer
 
java.lang.Object
|
+--com.idl.javaidl.JIDLProcessInitializer

Description


When a client calls the createObject method of either the JIDLCanvas or JIDLObject class, the JIDLProcessInitializer object can be passed in to control IDL process creation. Currently, this object controls the licensing mode of the IDL Process..

Member Summary

Fields

static int
LICENSING_FULL

The IDL process requires a full license.

static int
LICENSING_RUNTIME

The IDL process requires a runtime license.

Constructors

JIDLProcessInitializer()

Construct a process initializer object.

JIDLProcessInitializer(int)

Construct a process initializer object.

Methods

int
getLicenseMode()

Retrieve the current licensing mode.

void
setLicenseMode(int)

Set the licensing mode.

Inherited Member Summary

Methods inherited from class Object

equals(Object), getClass(), hashCode(), notify(), notifyAll(), toString(), wait(long, int), wait(long, int), wait(long, int)

Fields


LICENSING_FULL

public static final int LICENSING_FULL

If this flag is set, the Java application requires that a licensed copy of IDL be installed on the local machine. If IDL is installed but no license is available, the application will run in IDL Demo (7-minute) mode.

LICENSING_RUNTIME

public static final int LICENSING_RUNTIME

If this flag is set, the Java application looks for a runtime IDL license. If no runtime license is available, the application will run in Virtual Machine mode.

Constructors


JIDLProcessInitializer()

public JIDLProcessInitializer()

JIDLProcessInitializer(int)

public JIDLProcessInitializer(int licenseMode)

Methods


getLicenseMode()

public int getLicenseMode()

Returns:

The current licensing mode.

setLicenseMode(int)

public void setLicenseMode(int licenseMode)