Class ProcessingEvent


  • public class ProcessingEvent
    extends Object
    The ProcessingEvent provides a CDI event fired by the WorkflowService EJB. This even can be used in a observer pattern of a service EJB to react on the life-cycle of a process instance.

    The ProcessingEvent defines the following event types:

    • BEFORE_PROCESS - is send immediately before a workitem will be processed
    • AFTER_PROCESS - is send immediately after a workitem was processed

    To react on changes on a workitem in the front-end see the CDI event 'org.imixs.workflow.faces.workitem.WorkflowEvent'

    Version:
    1.0
    Author:
    Ralph Soika
    See Also:
    WorkflowService
    • Constructor Detail

      • ProcessingEvent

        public ProcessingEvent​(ItemCollection document,
                               int eventType)
    • Method Detail

      • getEventType

        public int getEventType()