Examples of DeploymentData


Examples of org.apache.axis2.deployment.util.DeploymentData

     * flows if some one has done so will throw a DeploymentException
     *
     * @throws DeploymentException
     */
    private void validateSystemPredefinedPhases() throws DeploymentException {
        DeploymentData tempdata = DeploymentData.getInstance();
        ArrayList inPhases = tempdata.getINPhases();
        //TODO condition checking should be otherway since null value can occur
        if (!(((String) inPhases.get(0)).equals(PhaseMetadata.PHASE_TRANSPORTIN) &&
                ((String) inPhases.get(1)).equals(PhaseMetadata.PHASE_PRE_DISPATCH) &&
                ((String) inPhases.get(2)).equals(PhaseMetadata.PHASE_DISPATCH) &&
                ((String) inPhases.get(3)).equals(PhaseMetadata.PHASE_POST_DISPATCH))) {
View Full Code Here

Examples of org.apache.axis2.deployment.util.DeploymentData

                                }
                            }
                        }
                    } else if (PHASE_ORDER.equals(ST)) {
                        int attribCount = pullparser.getAttributeCount();
                        DeploymentData tempdata = DeploymentData.getInstance();
                        if (attribCount > 0) {
                            for (int i = 0; i < attribCount; i++) {
                                String attname = pullparser.getAttributeLocalName(i);
                                String attvalue = pullparser.getAttributeValue(i);
                                if (TYPE.equals(attname)) {
                                    if (INFLOWST.equals(attvalue)) {
                                        tempdata.setINPhases(processPhaseOrder());
                                    } else if (OUTFLOWST.equals(attvalue)) {
                                        tempdata.setOUTPhases(processPhaseOrder());
                                    } else if (IN_FAILTFLOW.equals(attvalue)) {
                                        tempdata.setIN_FaultPhases(processPhaseOrder());
                                    } else if (OUT_FAILTFLOW.equals(attvalue)) {
                                        tempdata.setOUT_FaultPhases(processPhaseOrder());
                                    } else {
                                        throw new DeploymentException(
                                                "un defined flow type  " + ST);
                                    }
                                }
View Full Code Here

Examples of org.apache.axis2.deployment.util.DeploymentData

        res.sendRedirect(VIEW_SERVICE_HANDLERS_JSP_NAME);
    }

    private void listPhases(HttpServletRequest req, HttpServletResponse res) throws IOException {
        ArrayList phaselist = new ArrayList();
        DeploymentData depdata = DeploymentData.getInstance();
        phaselist.add(depdata.getINPhases());
        phaselist.add(depdata.getIN_FaultPhases());
        phaselist.add(depdata.getOUTPhases());
        phaselist.add(depdata.getOUT_FaultPhases());

        phaselist.add(depdata.getOperationInPhases());
        phaselist.add(depdata.getOperationInFaultPhases());
        phaselist.add(depdata.getOperationOutPhases());
        phaselist.add(depdata.getOperationOutFaultPhases());

        req.getSession().setAttribute(Constants.PHASE_LIST, phaselist);
        res.sendRedirect(LIST_PHASES_JSP_NAME);
    }
View Full Code Here

Examples of org.rhq.core.util.updater.DeploymentData

            handoverRemoteContentDownloadDirectory = createTempDirectory("handover-", ".download", baseDir);
            Map<HasHandover, File> downloadedFilesToHandover = downloadRemoteContentToHandover(handoverRemoteContentDownloadDirectory);

            try {
                DeploymentData deploymentData = new DeploymentData(deploymentProps, baseDir, deployDir, allFiles,
                    allRawFilesToReplace, allArchives, allArchiveReplacePatterns, templateEngine, this.ignorePattern,
                    allArchivesExploded);
                Deployer deployer = new Deployer(deploymentData);
                DeployDifferences diffs = getProject().getDeployDifferences();
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.