Package org.rioproject.deploy

Examples of org.rioproject.deploy.DeploymentResult


                try {
                    if (initialOpString.startsWith("http:"))
                        opstringURL = new URL(initialOpString);
                    else
                        opstringURL = new File(initialOpString).toURI().toURL();
                    DeploymentResult result = deployAdmin.deploy(opstringURL, null);
                    opStringMangerController.dumpOpStringError(result.getErrorMap());
                } catch (Throwable t) {
                    logger.warn("Loading OperationalString : " +initialOpString, t);
                }
            }
View Full Code Here


                        action = "update";
                        OpStringManager mgr = opStringMangerController.getOpStringManager(opstring.getName());
                        errorMap = mgr.doUpdateOperationalString(opstring);
                    } else {
                        action = "deploy";
                        DeploymentResult result = deployAdmin.deploy(opstring, null);
                        errorMap = result.getErrorMap();
                    }
                    if (!errorMap.isEmpty()) {
                        for (Map.Entry<String, Throwable> entry : errorMap.entrySet()) {
                            logger.warn("Deploying service [" + entry.getKey() + "] resulted in " +
                                        "the following exception",
View Full Code Here

TOP

Related Classes of org.rioproject.deploy.DeploymentResult

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.