Examples of SequenceProcessor


Examples of org.apache.sandesha2.msgprocessors.SequenceProcessor

      // commit the current transaction
      if(transaction != null && transaction.isActive()) transaction.commit();
      transaction = storageManager.getTransaction();

      // Process the Sequence header, if there is one
      SequenceProcessor seqProcessor = new SequenceProcessor();
      returnValue = seqProcessor.processSequenceHeader(rmMsgCtx, transaction);

      // commit the current transaction
      if(transaction != null && transaction.isActive()) transaction.commit();
      transaction = null;
     
View Full Code Here

Examples of org.apache.sandesha2.msgprocessors.SequenceProcessor

      // commit the current transaction
      if(transaction != null && transaction.isActive()) transaction.commit();
      transaction = storageManager.getTransaction();

      // Process the Sequence header, if there is one
      SequenceProcessor seqProcessor = new SequenceProcessor();
      returnValue = seqProcessor.processSequenceHeader(rmMsgCtx, transaction);

      // commit the current transaction
      if(transaction != null && transaction.isActive()) transaction.commit();
      transaction = null;
     
View Full Code Here

Examples of org.apache.sandesha2.msgprocessors.SequenceProcessor

      // commit the current transaction
      if(transaction != null && transaction.isActive()) transaction.commit();
      transaction = storageManager.getTransaction();

      // Process the Sequence header, if there is one
      SequenceProcessor seqProcessor = new SequenceProcessor();
      returnValue = seqProcessor.processSequenceHeader(rmMsgCtx, transaction);

      // commit the current transaction
      if(transaction != null && transaction.isActive()) transaction.commit();
      transaction = null;
     
View Full Code Here

Examples of org.geomajas.gwt.client.map.workflow.SequenceProcessor

    FeatureTransaction featureTransaction = mapModel.getFeatureEditor().getFeatureTransaction();
    if (featureTransaction != null) {
      List<Activity> activities = new ArrayList<Activity>();
      activities.add(new ValidationActivity());
      activities.add(new CommitActivity());
      WorkflowProcessor processor = new SequenceProcessor(new MapModelWorkflowContext());
      processor.setDefaultErrorHandler(new WorkflowErrorHandler() {

        public void handleError(WorkflowContext context, Throwable throwable) {
          SC.warn(I18nProvider.getGlobal().saveEditingAborted() + throwable.getMessage());
        }
      });
      processor.setActivities(activities);
      processor.doActivities(mapModel);

      // Cleaning up duties: controller and MapWidget (if they're present)
      if (controller != null) {
        controller.cleanup();
      }
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.