Examples of WARConfigData


Examples of org.apache.geronimo.console.configcreator.configData.WARConfigData

        return getMode();
    }

    public void renderView(RenderRequest request, RenderResponse response, MultiPageModel model)
            throws PortletException, IOException {
        WARConfigData data = getWARSessionData(request);
        request.setAttribute(DATA_PARAMETER, data);
        request.setAttribute(DEPLOYED_EJBS_PARAMETER, JSR77_Util.getDeployedEJBs(request));
        request.setAttribute(DEPLOYED_JDBC_CONNECTION_POOLS_PARAMETER, JSR77_Util.getJDBCConnectionPools(request));
        request.setAttribute(DEPLOYED_JMS_CONNECTION_FACTORIES_PARAMETER, JSR77_Util.getJMSConnectionFactories(request));
        request.setAttribute(DEPLOYED_JMS_DESTINATIONS_PARAMETER, JSR77_Util.getJMSDestinations(request));
View Full Code Here

Examples of org.apache.geronimo.console.configcreator.configData.WARConfigData

        request.setAttribute(DEPLOYED_JAVAMAIL_SESSIONS_PARAMETER, JSR77_Util.getJavaMailSessions(request));
    }

    public String actionAfterView(ActionRequest request, ActionResponse response, MultiPageModel model)
            throws PortletException, IOException {
        WARConfigData data = getWARSessionData(request);
        data.readReferencesData(request);
        if (data.isReferenceNotResolved()) {
            portlet.addErrorMessage(request, portlet.getLocalizedString(request, "errorMsg03"));
            return getMode() + "-before";
        }
        if (data.getSecurity() != null) {
            return SECURITY_MODE + "-before";
        }
        return DEPENDENCIES_MODE + "-before";
    }
View Full Code Here

Examples of org.apache.geronimo.console.configcreator.configData.WARConfigData

        return getMode();
    }

    public void renderView(RenderRequest request, RenderResponse response, MultiPageModel model)
            throws PortletException, IOException {
        WARConfigData data = getWARSessionData(request);
        request.setAttribute(DATA_PARAMETER, data);
        request.setAttribute(DEPLOYED_SECURITY_REALMS_PARAMETER, JSR77_Util.getDeployedSecurityRealms(request));
        request.setAttribute(DEPLOYED_CREDENTIAL_STORES_PARAMETER, JSR77_Util.getDeployedCredentialStores(request));
    }
View Full Code Here

Examples of org.apache.geronimo.console.configcreator.configData.WARConfigData

        request.setAttribute(DEPLOYED_CREDENTIAL_STORES_PARAMETER, JSR77_Util.getDeployedCredentialStores(request));
    }

    public String actionAfterView(ActionRequest request, ActionResponse response, MultiPageModel model)
            throws PortletException, IOException {
        WARConfigData data = getWARSessionData(request);
        data.readSecurityData(request);
        return DEPENDENCIES_MODE + "-before";
    }
View Full Code Here

Examples of org.apache.geronimo.console.configcreator.configData.WARConfigData

            if (fileName != null && fileName.length() > 0) {
                File uploadedFile = uploadFile(fileItem);
                ApplicationInfo applicationInfo = JSR88_Util.createApplicationInfo(request, uploadedFile);
                ConfigurationModuleType applicationType = applicationInfo.getType();
                if (ConfigurationModuleType.WAR == applicationType) {
                    WARConfigData data = setNewWARSessionData(request);
                    data.setUploadedWarUri(uploadedFile.toURI().toString());
                    data.parseWeb((WebModule) (applicationInfo.getModules().toArray()[0]));
                    return ENVIRONMENT_MODE + "-before";
                }
                if (ConfigurationModuleType.EAR == applicationType) {
                    EARConfigData earConfigData = setNewEARSessionData(request);
                    earConfigData.parseEAR(applicationInfo);
View Full Code Here

Examples of org.apache.geronimo.console.configcreator.configData.WARConfigData

        return getMode();
    }

    public void renderView(RenderRequest request, RenderResponse response, MultiPageModel model)
            throws PortletException, IOException {
        WARConfigData data = getWARSessionData(request);
        request.setAttribute(DATA_PARAMETER, data);
        request.setAttribute(DEPLOYED_SECURITY_REALMS_PARAMETER, JSR77_Util.getDeployedSecurityRealms(request));
        request.setAttribute(DEPLOYED_CREDENTIAL_STORES_PARAMETER, JSR77_Util.getDeployedCredentialStores(request));
    }
View Full Code Here

Examples of org.apache.geronimo.console.configcreator.configData.WARConfigData

        request.setAttribute(DEPLOYED_CREDENTIAL_STORES_PARAMETER, JSR77_Util.getDeployedCredentialStores(request));
    }

    public String actionAfterView(ActionRequest request, ActionResponse response, MultiPageModel model)
            throws PortletException, IOException {
        WARConfigData data = getWARSessionData(request);
        data.readSecurityData(request);
        return DEPENDENCIES_MODE + "-before";
    }
View Full Code Here

Examples of org.apache.geronimo.console.configcreator.configData.WARConfigData

        return getMode();
    }

    public void renderView(RenderRequest request, RenderResponse response, MultiPageModel model)
            throws PortletException, IOException {
        WARConfigData data = getWARSessionData(request);
        data.consolidateDependencies();
        request.setAttribute(DATA_PARAMETER, data);
        List<String> commonLibs = JSR77_Util.getCommonLibs(request);
        List<String> addedDependencies = data.getEnvironmentConfig().getDependencies();
        //addedDependencies will be a subset of commonLibs
        //sort commonLibs so that addedDependencies show up towards the beginning
        commonLibs.removeAll(addedDependencies);
        Collections.sort(commonLibs);
        Collections.sort(addedDependencies);
View Full Code Here

Examples of org.apache.geronimo.console.configcreator.configData.WARConfigData

        request.setAttribute(COMMON_LIBS_PARAMETER, commonLibs);
    }

    public String actionAfterView(ActionRequest request, ActionResponse response, MultiPageModel model)
            throws PortletException, IOException {
        WARConfigData data = getWARSessionData(request);
        data.getEnvironmentConfig().getDependenciesSet().clear();
        String[] selectedJars = request.getParameterValues(SELECTED_LIBS_PARAMETER);
        for (int i = 0; selectedJars != null && i < selectedJars.length; i++) {
            data.getEnvironmentConfig().getDependenciesSet().add(selectedJars[i]);
        }
        return DISPLAY_PLAN_MODE + "-before";
    }
View Full Code Here

Examples of org.apache.geronimo.console.configcreator.configData.WARConfigData

        return getMode();
    }

    public void renderView(RenderRequest request, RenderResponse response, MultiPageModel model)
            throws PortletException, IOException {
        WARConfigData data = getWARSessionData(request);
        request.setAttribute(DATA_PARAMETER, data);
    }
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.