CICS® Transaction Gateway Programming Reference v1.1.0.0

com.ibm.ctg.monitoring
Enum RequestEvent

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

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

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


Enum Constant Summary
Command
          This exit point fires when the Gateway daemon receives an administration request for the request monitoring exit which includes a command string.
RequestEntry
          This exit point fires just after a request has entered the Java client or Gateway daemon classes.
ResponseExit
          This exit point fires just before a response exits from the Java client or Gateway daemon classes.
ShutDown
          This exit point fires just after the RequestExit is disabled, at shutdown of the Gateway daemon, close of the JavaGateway object, or on an error.
 
Method Summary
static RequestEvent valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RequestEvent[] 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 RequestEvent ShutDown
This exit point fires just after the RequestExit is disabled, 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.


RequestEntry

public static final RequestEvent RequestEntry
This exit point fires just after a request has entered the Java client or Gateway daemon classes.


ResponseExit

public static final RequestEvent ResponseExit
This exit point fires just before a response exits from the Java client or Gateway daemon classes.


Command

public static final RequestEvent Command
This exit point fires when the Gateway daemon receives an administration request for the request monitoring exit which includes a command string.

Method Detail

values

public static final RequestEvent[] 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(RequestEvent c : RequestEvent.values())
        System.out.println(c);

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

valueOf

public static RequestEvent 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