Package org.exoplatform.resolver

Examples of org.exoplatform.resolver.ServletResourceResolver


     *        the WebUI framework
     */
    public PortalApplication(ServletConfig config) {
        sconfig_ = config;
        ApplicationResourceResolver resolver = new ApplicationResourceResolver();
        resolver.addResourceResolver(new ServletResourceResolver(config.getServletContext(), "war:"));
        resolver.addResourceResolver(new ServletResourceResolver(config.getServletContext(), "app:"));
        resolver.addResourceResolver(new ServletResourceResolver(config.getServletContext(), "system:"));
        resolver.addResourceResolver(new ServletResourceResolver(config.getServletContext().getContext("/eXoResources"),
                "resources:"));
        setResourceResolver(resolver);
    }
View Full Code Here


    */
   public PortalApplication(ServletConfig config) throws Exception
   {
      sconfig_ = config;
      ApplicationResourceResolver resolver = new ApplicationResourceResolver();
      resolver.addResourceResolver(new ServletResourceResolver(config.getServletContext(), "war:"));
      resolver.addResourceResolver(new ServletResourceResolver(config.getServletContext(), "app:"));
      resolver.addResourceResolver(new ServletResourceResolver(config.getServletContext(), "system:"));
      resolver.addResourceResolver(new ServletResourceResolver(config.getServletContext().getContext("/eXoResources"),
         "resources:"));
      setResourceResolver(resolver);
   }
View Full Code Here

TOP

Related Classes of org.exoplatform.resolver.ServletResourceResolver

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.