Package de.danet.an.workflow.internalapi

Examples of de.danet.an.workflow.internalapi.ExtProcessLocal


     * @throws ParseException if the condition cannot be evaluated
     */
    public Date expirationDate (Date baseTime, ExtProcessLocal process)
  throws ParseException {
  Object cond = null;
  final ExtProcessLocal proc = process;
  try {
      cond = XPDLUtil.parseDuration
    (getCondition(),
     new Duration.ValueEvaluator () {
         public float evaluate(String s)
View Full Code Here


     * Triggers the execution of the current tool for the given activity.
     * @param act the activity
     */
    public void invoke (ExtActivityLocal act) {
  try {
      ExtProcessLocal process = (ExtProcessLocal)act.containerLocal();
      ApplicationDefinition appl = (ApplicationDefinition)
    process.processDefinition().applicationById(id());
      Map params = parameterMap (process, act, appl);
      act.invokeTool (appl, params);
      return;
  } catch (InvalidIdException e) {
      // cannot happen since procdef is initially verified
View Full Code Here

      }
  }
  if (impl instanceof SubFlowImplementation) {
      Collection subs = performersLocal();
      for (Iterator i = subs.iterator (); i.hasNext();) {
    ExtProcessLocal p = (ExtProcessLocal)i.next();
    try {
        if (p.typedState().isSameOrSubState
      (NotRunningState.SUSPENDED)) {
      p.abort ();
        } else {
      try {
          p.terminate ();
      } catch (CannotStopException e) {
          try {
        p.suspend ();
        p.abort ();
          } catch
        (InvalidControlOperationException ee) {
        logger.warn
            ("Cannot force termination of "
             + p + " (ignored): " + ee.getMessage ());
View Full Code Here

   
    /* (non-Javadoc)
     * Comment copied from interface or superclass.
     */
    public ExtProcessLocal toProcessLocal() {
        ExtProcessLocal procLocal = (ExtProcessLocal)ctx.getEJBLocalObject();
        return procLocal;
    }
View Full Code Here

     * @param act the activity
     */
    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);
View Full Code Here

TOP

Related Classes of de.danet.an.workflow.internalapi.ExtProcessLocal

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.