Package org.jboss.internal.soa.esb.listeners.war

Examples of org.jboss.internal.soa.esb.listeners.war.WebDeploymentArchive


    }

    public File build() throws ConfigurationException, DeploymentException
    {
        File war = null;
        WebDeploymentArchive webDeployment = new WebDeploymentArchive(getESBWarFileName());
        WebModel webModel = webDeployment.getWebModel();

        // Set the global security domain and global security method.
        // These setting are shared for all http-providers and EBWSs
        // in a jboss-esb.xml file.
        webModel.setAuthDomain(model.getAuthDomain());
        webModel.setAuthMethod(model.getAuthMethod());

        // Add the EBWS components...
        createWebserviceWars(webDeployment);

        // Add the web deployments info to the WebModel...
        ModelUtil.updateWebModel(deploymentName, ModelUtil.getListenerGroups(model), webModel);

        // Add a sub-deloyment for the web model...
        this.servlets = webModel.getServlets();
        if(!servlets.isEmpty()) {
           
            // Finalize the webDeployment...
            webDeployment.finalizeArchive();

            // Now create the web deployment...
            war = createGatewayTempDeployment(webDeployment);

        }
View Full Code Here


    }

    public File build() throws ConfigurationException, DeploymentException
    {
        File war = null;
        WebDeploymentArchive webDeployment = new WebDeploymentArchive(getESBDeploymentName(), getESBWarFileName());
        WebModel webModel = webDeployment.getWebModel();

        // Set the global security domain and global security method.
        // These setting are shared for all http-providers and EBWSs
        // in a jboss-esb.xml file.
        webModel.setAuthDomain(model.getAuthDomain());
        webModel.setAuthMethod(model.getAuthMethod());

        // Add the EBWS components...
        createWebserviceWars(webDeployment);

        // Add the web deployments info to the WebModel...
        ModelUtil.updateWebModel(deploymentName, ModelUtil.getListenerGroups(model), webModel);

        // Add a sub-deloyment for the web model...
        this.servlets = webModel.getServlets();
        if(!servlets.isEmpty()) {
           
            // Finalize the webDeployment...
            webDeployment.finalizeArchive();

            // Now create the web deployment...
            war = createGatewayTempDeployment(webDeployment);

        }
View Full Code Here

TOP

Related Classes of org.jboss.internal.soa.esb.listeners.war.WebDeploymentArchive

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.