Package de.danet.an.workflow.localapi

Examples of de.danet.an.workflow.localapi.ActivityLocal.complete()


                if (resParam != null) {
                    ProcessData res = new DefaultProcessData ();
                    res.put (resParam, "EXPIRED");
                    act.setResult (res);
                }
                act.complete ();
                if (logger.isDebugEnabled ()) {
                    logger.debug ("Result set for " + auk + " and completed");
                }
                return;
            } catch (InvalidDataException e) {
View Full Code Here


         + " from channel " + channel
         + " to waiting activity " + act);
      }
      try {
    act.setResult (new DefaultProcessData (message));
    act.complete ();
      } catch (CannotCompleteException e) {
    logger.error
        ("Activity " + act + " listening on channel "
         + "but cannot be completed?!: " + e.getMessage (), e);
    throw new IllegalStateException
View Full Code Here

      }
      String fpn = fps[i].id();
      pd.put (fpn, res.get (fpn));
        }
        act.setResult (pd);
        act.complete ();
    }
      } catch (InvalidKeyException e) {
    logger.warn (toString() + " cannot notify requesting activity "
           + key + " : " + e.getMessage ());
      } catch (InvalidDataException e) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.