public class LocalJavaGateway
extends com.ibm.ctg.client.JavaGatewayInterface
Modifier and Type | Field and Description |
---|---|
long |
closeTimeout
Time given for in-progress work to end when Gateway is closed
|
Modifier and Type | Method and Description |
---|---|
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.
|
public long closeTimeout
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