Package org.nimbustools.messaging.gt4_0

Examples of org.nimbustools.messaging.gt4_0.ResourcePropertyCallback


        this.validateAll();

        final ReportResponse_Type response;
        try {
            final ReportSend_Type send = new ReportSend_Type();
            send.setReturnOnlyIfErrorPresent(this.responseOnlyIfError);
            if (this.returnOnlyIfAll != null) {
                send.setReturnOnlyIfAllAtState(this.returnOnlyIfAll);
            }
            final String now =
                    localFormat.format(Calendar.getInstance().getTime());
            this.pr.debugln("Querying for report @ " + now);
            response = ((WorkspaceEnsemblePortType) this.portType).report(send);
View Full Code Here


        }

        workspace.setEpr(anepr);
        workspace.setCurrentState(state);

        final Schedule_Type xmlSchedule = report.getSchedule();
        if (xmlSchedule != null) {
            workspace.setCurrentSchedule(new Schedule(xmlSchedule));
        }

        final VirtualNetwork_Type xmlNetwork = report.getNetworking();
View Full Code Here

        }

        // length/not-null already checked
        final CreatedWorkspace_Type[] allrefs = response.getCreatedWorkspace();

        final Schedule_Type xmlSchedule = allrefs[0].getSchedule();
        if (xmlSchedule == null) {
            throw new ExecutionProblem(
                    "(?) no schedule in factory response");
        }
View Full Code Here

            workspace.setCurrentNetworking(new Networking(t_network));
        }

        workspace.setEpr(endpoint);

        final Schedule_Type xmlSched = rpSet.getSchedule();
        if (xmlSched != null) {
            final Schedule schedule = new Schedule(xmlSched);
            workspace.setCurrentSchedule(schedule);
        }
View Full Code Here

            } catch (ParameterProblem e) {
                throw new ExecutionProblem(
                            "unexpected problem: " + e.getMessage(), e);
            }
           
            final Schedule_Type xmlSchedule = allrefs[i].getSchedule();
            if (xmlSchedule == null) {
                throw new ExecutionProblem(
                        "(?) no schedule in factory response");
            }
View Full Code Here

            ((WorkspacePortType) this.portType).getResourceProperty(
                                        Constants_GT4_0.RP_SCHEDULE);

        final MessageElement msg = resp.get_any()[0];

        final Schedule_Type schedule = (Schedule_Type)
                ObjectDeserializer.toObject(msg, Schedule_Type.class);

        if (schedule == null) {
            throw new Exception("no schedule");
        }
View Full Code Here

        }

        workspace.setEpr(oneCurrent.getEpr());
        workspace.setDetails(oneCurrent.getDetails());

        final Schedule_Type xmlSched = oneCurrent.getSchedule();
        if (xmlSched != null) {
            final Schedule schedule = new Schedule(xmlSched);
            workspace.setCurrentSchedule(schedule);
        }
View Full Code Here

        if (callerDN == null) {
            logger.error("VWS-GROUP-SHUTDOWN: no caller identity");
            throw InstanceUtil.makeShutdownFault("no caller identity", null);
        }

        final ShutdownEnumeration shutdownEnum = req.getShutdownType();
       
        try {
           
            final GroupResource resource = getGroupResource();
           
View Full Code Here

        final StringBuffer buf = new StringBuffer(2048);

        buf.append("Optional parameters:\n");

        TransferRequest_Type xfer = opts.getStageIn();
        if (xfer != null) {
            buf.append("  - StageIn:\n");
            dumpXfer(buf, xfer);
        }
        xfer = opts.getStageOut();
View Full Code Here

            logger.fatal(t.getMessage(), t);
            throw InstanceUtil.makeStartFault(
                    FaultUtil.unknown(t, "group.start"), null);
        }

        return new VoidType();
    }
View Full Code Here

TOP

Related Classes of org.nimbustools.messaging.gt4_0.ResourcePropertyCallback

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.