Package edu.indiana.extreme.lead.workflow_tracking.common

Examples of edu.indiana.extreme.lead.workflow_tracking.common.InvocationEntity


        URI initiatorWorkflowID = URI.create("Workflow");
        URI initiatorServiceID = URI.create("Adder_add");
        String initiatorWorkflowNodeID1 = "Adder_add";
        Integer workflowTimeStep = new Integer(0);
        InvocationEntity entity1 = notifier.createEntity(initiatorWorkflowID,
                initiatorServiceID, initiatorWorkflowNodeID1, workflowTimeStep);
        notifier.resourceMapping(entity1, "resource1.example.com", 1);
        notifier.resourceMapping(entity1, "resource2.example.com", 2);
        notifier.resourceMapping(entity1, "resource3.example.com", 3);

        String initiatorWorkflowNodeID2 = "Adder_add_2";
        InvocationEntity entity2 = notifier.createEntity(initiatorWorkflowID,
                initiatorServiceID, initiatorWorkflowNodeID2, workflowTimeStep);
        notifier.resourceMapping(entity2, "resource.example.com", 0);
    }
View Full Code Here


        URI myWorkflowID = null;
        URI myServiceID = URI.create(XBayaConstants.APPLICATION_SHORT_NAME);
        String myNodeID = null;
        Integer myTimestep = null;
        InvocationEntity myEntity = notifier.createEntity(myWorkflowID,
                myServiceID, myNodeID, myTimestep);

        URI serviceWorkflowID = null;
        URI serviceServiceID = URI.create("ServiceID");
        String serviceNodeID = nodeID;
        Integer serviceTimestep = null;
        InvocationEntity serviceEntity = notifier.createEntity(
                serviceWorkflowID, serviceServiceID, serviceNodeID,
                serviceTimestep);

        XmlElement inputBody = (XmlElement) ((XmlElement) inputMessage)
                .getParent();
View Full Code Here

        ConstructorProps props = ConstructorProps.newProps();
        props.set(ConstructorConsts.BROKER_EPR, brokerEPR);
        Notifier notifier = NotifierFactory.createNotifier(props);

        InvocationEntity entity = notifier.createEntity(URI
                .create("workflowID"), URI.create("serviceID"),
                "workflowNodeID", new Integer(1) /* step */);
        notifier.publishURL(entity, "title", "http://www.google.com",
                "descriptionAndAnnotation");

View Full Code Here

                logger.caught(e);
            }
        }
        String myNodeID = null;
        Integer myTimestep = null;
        InvocationEntity myEntity = this.notifier.createEntity(myWorkflowID,
                myServiceID, myNodeID, myTimestep);

        URI serviceWorkflowID = null;
        URI serviceServiceID = this.leadContext.getWorkflowId();
        if (serviceServiceID == null) {
            serviceServiceID = URI.create("NoWorkflowIDSet");
        }
        String serviceNodeID = this.leadContext.getNodeId();
        Integer serviceTimestep = null;
        String timeStep = this.leadContext.getTimeStep();
        if (timeStep != null) {
            try {
                serviceTimestep = new Integer(this.leadContext.getTimeStep());
            } catch (NumberFormatException e) {
                logger.caught(e);
            }
        }
        InvocationEntity serviceEntity = this.notifier.createEntity(
                serviceWorkflowID, serviceServiceID, serviceNodeID,
                serviceTimestep);

        XmlElement soapHeader = soapEnvelope.element(null,
                XmlConstants.S_HEADER);
View Full Code Here

TOP

Related Classes of edu.indiana.extreme.lead.workflow_tracking.common.InvocationEntity

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.