Class WorkflowEngine

java.lang.Object
org.imixs.workflow.micro.socket.WorkflowEngine

@ApplicationScoped public class WorkflowEngine extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onClose(jakarta.websocket.Session session)
     
    void
    onError(jakarta.websocket.Session session, Throwable throwable)
     
    void
    onMessage(ByteBuffer bytes, jakarta.websocket.Session session)
    This method receives a serialized hash map containing the items of a Workitem.
    void
    onOpen(jakarta.websocket.Session session)
    Starts a new workflow based on the given model information

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WorkflowEngine

      public WorkflowEngine()
  • Method Details

    • onOpen

      public void onOpen(jakarta.websocket.Session session)
      Starts a new workflow based on the given model information
    • onClose

      public void onClose(jakarta.websocket.Session session)
    • onError

      public void onError(jakarta.websocket.Session session, Throwable throwable)
    • onMessage

      public void onMessage(ByteBuffer bytes, jakarta.websocket.Session session)
      This method receives a serialized hash map containing the items of a Workitem. The Workitem is converted into a ItemCollection and stored in the MESSAGES queue
      Parameters:
      bytes -