|
CICS® Transaction Gateway Programming Reference v1.1.0.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.ctg.client.JavaGatewayInterface
com.ibm.ctg.client.LocalJavaGateway
public class LocalJavaGateway
This class allows you to process request locally on a machine. Rather than flowing the request across the network, this class executes them locally using the server-side objects which would have been used to execute the request if it had been received by the CICS Transaction Gateway.
Field Summary | |
---|---|
long |
closeTimeout
Time given for in-progress work to end when Gateway is closed |
Fields inherited from class com.ibm.ctg.client.JavaGatewayInterface |
---|
CLASS_VERSION, copyright |
Method Summary | |
---|---|
static void |
destroy()
When the CICS Transaction Gateway is cleanly shutdown, it will run termination routines for all the different type of requests it has seen. |
Methods inherited from class com.ibm.ctg.client.JavaGatewayInterface |
---|
getLocalAddress, setRequestExitMonitor |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public long closeTimeout
Method Detail |
---|
public static void destroy() throws java.io.IOException
When running using the local Gateway object, it is not possible for the local Gateway code to programatically decide when to run these request termination routines, since it cannot tell when the program using the local Gateway is about to end.
The destroy method is provided to allow a programmer to explicitly say that it has finished using the local Gateway support, and WILL NOT use it again in the program. When called the termination routines of all the used request types will be run. Once called it will not be possible to create another local Gateway for the rest of the life-time of the program.
java.io.IOException
|
©Copyright IBM Corp. 1994, 2014 Legal |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |