Class AbstractGatewayActivityHandler

    • Field Detail

      • idcnt

        protected int idcnt
        Counter for generating unique ids.
    • Constructor Detail

      • AbstractGatewayActivityHandler

        public AbstractGatewayActivityHandler()
    • Method Detail

      • execute

        public void execute​(MActivity activity,
                            IInternalAccess instance,
                            ProcessThread thread)
        Execute an activity.
        Parameters:
        activity - The activity to execute.
        instance - The process instance.
        thread - The process thread.
      • cancel

        public void cancel​(MActivity activity,
                           IInternalAccess instance,
                           ProcessThread thread)
        Cancel an activity.
        Parameters:
        activity - The activity to execute.
        instance - The process instance.
        thread - The process thread.
      • generateId

        protected java.lang.String generateId()
        Generate a unique id.
      • addSplitInfos

        protected void addSplitInfos​(java.util.Collection<ProcessThread> threads)
        Add split infos to a set of threads.
      • performJoin

        protected boolean performJoin​(MActivity activity,
                                      ProcessThread thread)
        Perform a join, if possible.
        Returns:
        True, if a join was performed.