PCHeventClass Class

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:

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.

See Also
Container Class
Event Class
Listener Class