Package de.danet.an.workflow.localapi

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


      ProcessDefinition pd = (ProcessDefinition)paProcessDefSoft.get();
      if (pd != null) {
          return pd;
      }
  }
  ProcessDefinitionDirectoryLocal pdd = null;
  try {
      String def = loadProcDef();
      if (def != null) {
          ProcessDefinition pd = new DefaultProcessDefinition (def);
          paProcessDefSoft = new SoftReference(pd);
          return pd;
      }
            pdd = getProcessDefinitionDirectoryLocal();
      if (xpdlRef != null) {
          paProcessDef = pdd.lookupArchivedProcessDefinition
              (xpdlRef.longValue());
          return paProcessDef;
      }
      paProcessDef = pdd.lookupProcessDefinition (packageId, processId);
      return paProcessDef;
  } catch (SQLException sex) {
      logger.error (sex.getMessage(), sex);
      throw new ProviderException (sex.getMessage());
  } catch (IOException ioe) {
View Full Code Here


     */
    public void invoke (ExtActivityLocal act) {
  try {
      try {
    ExtProcessLocal process = (ExtProcessLocal)act.containerLocal();
    ProcessDefinitionDirectoryLocal pdd
        = (ProcessDefinitionDirectoryLocal)
        process.processDefinitionDirectoryLocal ();
    WfRequester req = new SubProcRequester (act, execMode);
    ProcessData pd = new DefaultProcessData
        (parameterMap (process, act, pdd));   
    WfProcessLocal p
                    = pdd.createProcessLocal (packageId(), processId(), req);
    p.setProcessContext(pd);
    p.start ();
    startedProcess = p.key ();
    if (execMode == ASYNCHR) {
        act.complete ();
View Full Code Here

TOP

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

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.