DocBook|Search
Class Reference
%Net.Remote.Java.JavaGatewayService
   
Server:basexml
Instance:SOAXML
User:UnknownUser
 
-
  [USER] >  [%Net] >  [Remote] >  [Java] >  [JavaGatewayService]
Private  Storage  

class %Net.Remote.Java.JavaGatewayService extends %RegisteredObject

A service responsible for running the Java gateway.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 8 5


Summary

Properties
ClassPath JVMArgs JavaDebug JavaDebugPort
JavaDebugSuspend JavaHome Logfile Port

Methods
%%OIDGet %AddToSaveSet %ClassIsLatestVersion %ClassName
%ConstructClone %DispatchClassMethod %DispatchGetModified %DispatchGetProperty
%DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty
%Extends %GetParameter %IsA %IsModified
%New %NormalizeObject %ObjectModified %OriginalNamespace
%PackageName %RemoveFromSaveSet %SerializeObject %SetModified
%ValidateObject ConnectGateway OnInit OnTearDown
StartGateway StopGateway


Parameters

• parameter JAVAGATEWAYCLASS = "com.intersys.gateway.JavaGateway";
• parameter SETTINGS = "Port,Logfile,JavaHome,ClassPath,JVMArgs,JavaDebug,JavaDebugPort,JavaDebugSuspend";

Properties

• property ClassPath as %String(MAXLEN=32000,TRUNCATE=1);
• property JVMArgs as %String(MAXLEN=32000,TRUNCATE=1);
• property JavaDebug as %Boolean [ InitialExpression = "0" ];
• property JavaDebugPort as %String(TRUNCATE=1) [ InitialExpression = "8000" ];
• property JavaDebugSuspend as %String(DISPLAYLIST=",Yes,No",TRUNCATE=1,VALUELIST=",y,n") [ InitialExpression = "n" ];
• property JavaHome as %String(MAXLEN=8192,TRUNCATE=1);
• property Logfile as %String(MAXLEN=8192,TRUNCATE=1);
• property Port as %String(TRUNCATE=1) [ InitialExpression = "22222" ];

Methods

• classmethod ConnectGateway(pEndpoint As %String, ByRef pGateway As %Net.Remote.Java.JavaGateway, pDebug As %Boolean = 0, pExtraClasspaths As %String = "") as %Status
Connect to a running Java Gateway server instance
• method OnInit() as %Status
Start the JavaGateway instance
• method OnTearDown() as %Status
Shutdown the JavaGateway instance
• classmethod StartGateway(pJavaHome As %String, pClassPath As %String, pJVMArgs As %String, pPort As %String, pLogfile As %String = "", pDebug As %Boolean = 0, systemLevel="", debugPort As %String = "", debugSuspend As %String = "") as %Status
Start up a Java Gateway server instance
• classmethod StopGateway(pPort As %String) as %Status