When using the Listener object or a Container object to create an Event, the
event class must be specified. Java™ does not support the use of enumerated types,
therefore, the event class is expressed as an instance of the PCHeventClass
class. The PCHeventClass is a "type safe enumeration" in Java which
is limited to the pre-created definitions PCHeventClass.RPC
and
PCHeventClass.USER
. These constants are used to specify the class
of an Event during the creation of an Event object
at the top-level of the Listener or as a subordinate
of a Container object.
NOTE When creating an Event subordinate to another Event (sub-Event), the event class is not specified because sub-Events must have the same class as their parent Event object.
In FileNet® P8 3.5.0 and later, the following Event class constants are supported for use by the application:
RPC
- Indicates that the Event object will be used to record
top level client requests.USER
- Specifies that the Event object will be used to record
any other type of Event or operation performed by the application, other than
those at the top level.NOTE Although the application may only implement
an Event object using the RPC
and USER
class types,
the Listener library automatically generates data in three other classes: DISK
,
NETWORK
, and CPU
.