Package org.nimbustools.ctxbroker.generated.gt4_0.description

Examples of org.nimbustools.ctxbroker.generated.gt4_0.description.Requires_Type


            return; // *** EARLY RETURN ***
        }

        try {
            final NimbusContextBrokerPortType port =
                    WSUtils.initContextBrokerPortType(this.epr);
            this.stubConf.setOptions((Stub)port);
            this.portType = port;
        } catch (Throwable t) {
            final String err = "Problem setting up: " +
View Full Code Here


        if (epr == null) {
            // getWorkspaceContextBrokerPortTypePort does not check this for null
            throw new IllegalArgumentException("epr may not be null");
        }

        final NimbusContextBrokerServiceAddressingLocator locator =
                new NimbusContextBrokerServiceAddressingLocator();

        return locator.getNimbusContextBrokerPortTypePort(epr);
    }
View Full Code Here

        if (this.args.clusterForImpersonationPath == null) {
            throw new ParameterProblem("missing path to cluster file to use " +
                    "for ctx agent retrieve operation");
        }

        final AgentDescription_Type args = new AgentDescription_Type();
       
        IdentityProvides_Type[] ids = new IdentityProvides_Type[2];
        ids[0] = this.getFake_0();
        ids[1] = this.getFake_1();
        args.setIdentity(ids);

        final Cloudcluster_Type clusta;
        try {
            clusta = FileUtils.getClusterDocForRetrieve(
                            this.pr, this.args.clusterForImpersonationPath);
        } catch (Exception e) {
            throw new ParameterProblem("Problem reading in the cluster " +
                    "ctx doc: " + e.getMessage(), e);
        }

        args.setCluster(clusta);
        this.ctxRetrieve.setRetrieveSend(args);
    }
View Full Code Here

        for (MemberDeployment mem : getMemberDeployments()) {
            deployment.addMember(mem);
        }

        BrokerContactType broker = new BrokerContactType();

        final RunTask[] runTasks = deployment.generateRunTasks(broker,
            this.getTempDir().getAbsolutePath(),
            "/home/david/.ssh/id_rsa.pub",
            60, new Print());
View Full Code Here

            final CreateContextResponse_Type resp =
                    new CreateContextResponse_Type();
            resp.setContextEPR(ref);
            resp.setContact(
                    new BrokerContactType(this.home.getBrokerURL(), id,
                                          this.home.getContextSecret(ref)));

            return resp;
           
        } catch (ContextBrokerException e) {
View Full Code Here

                                      String ctxEprPath,
                                      String[] ctxUserDataPaths,
                                      File ctxTempDir,
                                      Print print) throws ExitNow, ExecutionProblem {

        final BrokerContactType brokerContact;
        try {
            brokerContact = this.createCtx(brokerURL,
                    brokerID,
                    ctxEprPath,
                    ctxTempDir,
View Full Code Here

        final FutureTask task = new FutureTask(ccTask);
       

        this.executor.submit(task);

        final BrokerContactType brokerContact;
        try {
            final Integer retCode = (Integer) task.get();
            if (retCode.intValue() == BaseClient.SUCCESS_EXIT_CODE) {
                brokerContact =
                        FileUtils.getBrokerContactFromFile(print,
View Full Code Here

                break;
            }
        }
        final String ctxEprPath;
        final String ctxReportsDirPath;
        final BrokerContactType brokerContact;

        if (!usingContextBroker) {
            ctxEprPath = null;
            ctxReportsDirPath = null;
            brokerContact = null;
View Full Code Here

                        && identityAuthorization != null) {
                    brokerIdentityAuthorization = identityAuthorization;
                }
            }

            final BrokerContactType brokerContact;
            try {
                brokerContact = this.createCtx(brokerURL,
                                               brokerIdentityAuthorization,
                                               ctxEprPath,
                                               newdir4,
View Full Code Here

            } else if (print.useLogging()) {
                logger.debug(msg);
            }
        }

        BrokerContactType brokerContact = null;
        BufferedInputStream in = null;

        try {
            in = new BufferedInputStream(new FileInputStream(path));
            brokerContact =
View Full Code Here

TOP

Related Classes of org.nimbustools.ctxbroker.generated.gt4_0.description.Requires_Type

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.