Package org.jboss.gravia.resource

Examples of org.jboss.gravia.resource.ResourceBuilder


        Manifest manifest = getWebappManifest(servletContext);
        if (manifest == null)
            return null;

        ResourceBuilder resbuilder = new ManifestResourceBuilder().load(manifest);
        if (!resbuilder.isValid())
            return null;

        Resource resource = resbuilder.getResource();

        Dictionary<String, String> headers = new ManifestHeadersProvider(manifest).getHeaders();
        return installWebappModule(servletContext, resource, headers);
    }
View Full Code Here


        Manifest manifest = getWebappManifest(servletContext);
        if (manifest == null)
            return null;

        ResourceBuilder resbuilder = new ManifestResourceBuilder().load(manifest);
        if (!resbuilder.isValid())
            return null;

        Resource resource = resbuilder.getResource();

        Dictionary<String, String> headers = new ManifestHeadersProvider(manifest).getHeaders();
        return installWebappModule(servletContext, resource, headers);
    }
View Full Code Here

TOP

Related Classes of org.jboss.gravia.resource.ResourceBuilder

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.