CICS® Transaction Gateway Programming Reference v1.1.0.0

com.ibm.ctg.ha
Enum ExitEvent

java.lang.Object
  extended by java.lang.Enum<ExitEvent>
      extended by com.ibm.ctg.ha.ExitEvent
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ExitEvent>

public enum ExitEvent
extends java.lang.Enum<ExitEvent>

This enumeration defines the event that triggers the eventFired() method of the CICSRequestExit.


Enum Constant Summary
Command
          This exit point fires when the Gateway daemon receives an administration request for the CICS request exit and includes a command string
ShutDown
          This exit point fires just after the CICSRequestExit is dissabled, at shutdown of the Gateway daemon, close of the JavaGateway object, or on an error.
 
Method Summary
static ExitEvent valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ExitEvent[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ShutDown

public static final ExitEvent ShutDown
This exit point fires just after the CICSRequestExit is dissabled, at shutdown of the Gateway daemon, close of the JavaGateway object, or on an error. This is to allow the exit to tidy up any external resources it has been using.


Command

public static final ExitEvent Command
This exit point fires when the Gateway daemon receives an administration request for the CICS request exit and includes a command string

Method Detail

values

public static final ExitEvent[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ExitEvent c : ExitEvent.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ExitEvent valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

©Copyright IBM Corp. 1994, 2014
Legal