Package de.danet.an.workflow.localapi

Examples of de.danet.an.workflow.localapi.ProcessLocal


     * match formal parameter names or excessive entries exist.
     */
    public void mergeResult (ActivityLocal act, Map result)
  throws InvalidDataException {
  try {
      ProcessLocal process = (ProcessLocal)act.containerLocal();
      ApplicationDefinition appl = (ApplicationDefinition)
    process.processDefinition().applicationById(id());
      FormalParameter[] fps = appl.formalParameters();
      mergeResult (process, fps, result);
  } catch (InvalidIdException e) {
      // cannot happen since procdef is initially verified
      logger.error (e.getMessage(), e);
View Full Code Here


     */
    protected ExtActivityLocal lookupActivityLocal (String key)
  throws InvalidKeyException {
  // Search via process to get process into transaction first
  try {
      ProcessLocal proc = ((WfProcessLocalHome)ctx.getEJBLocalHome())
    .findByActivityKey (key);
      return (ExtActivityLocal)proc.activityByKeyLocal(key);
  } catch (FinderException e) {
      logger.debug (e.getMessage (), e);
      throw new InvalidKeyException (e.getMessage());
  }
    }
View Full Code Here

  try {
      // Source is not usable internally (remote object). Lookup
            // local object in order to get process and (maybe) activity
            // in transaction.
      procDir = processDirectoryLocal();
      ProcessLocal proc = procDir.lookupProcessLocal
    (event.processMgrName(), event.processKey());
            ExtActivityLocal actLocal = null;
      if (event.activityKey() != null) {
                actLocal = (ExtActivityLocal)
                    proc.activityByKeyLocal (event.activityKey());
      }
      if (activityHandles) {
    actLocal.handleAuditEvent (event);
      }
      if (processHandles) {
View Full Code Here

    public void mergeResult (ActivityLocal act, Map result)
  throws InvalidDataException {
  if (!(result instanceof ProcessDataWithParams)) {
      throw new InvalidDataException ("Need ProcDataWithParams");
  }
  ProcessLocal process = (ProcessLocal)act.containerLocal();
  FormalParameter[] fps
      = ((ProcessDataWithParams)result).formalParameters();
  mergeResult (process, fps, result);
    }
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.localapi.ProcessLocal

Copyright © 2018 www.massapicom. 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.