Package org.eclipse.jetty.webapp

Examples of org.eclipse.jetty.webapp.FragmentConfiguration


                new AnnotationConfiguration(),
                new WebXmlConfiguration(),
                new WebInfConfiguration(),
                new PlusConfiguration(),
                new MetaInfConfiguration(),
                new FragmentConfiguration(),
                new EnvConfiguration()});
        // @formatter:on

        return context;
    }
View Full Code Here


    context.setConfigurations(new Configuration[]{
        new AnnotationConfiguration(),
         new WebInfConfigurationExt(),
         new WebXmlConfiguration(),
             new MetaInfConfiguration(),
             new FragmentConfiguration(),
             new JettyWebXmlConfiguration()});
    context.setThrowUnavailableOnStartupException(true);
    context.setParentLoaderPriority(true);
    context.setClassLoader(JettyServer.class.getClassLoader());
    server.setHandler(context);
View Full Code Here

      File warDir = new File(buildDirectory, finalName);
      File warFile = new File(buildDirectory, finalName + ".war");
      File webXmlFile = new File(warDir, webXml);
      FileUtils.copyFile(new File(basedir, "src/main/webapp/" + webXml), webXmlFile);
     
      Configuration[] configurations = new Configuration[] { new WebXmlConfiguration(), new FragmentConfiguration() };
      WebAppContext context = new WebAppContext();
      context.setDefaultsDescriptor(null);
      context.setDescriptor(webXmlFile.getAbsolutePath());
      context.setConfigurations(configurations);
     
View Full Code Here

        // JQM configuration should be on the class path
        webAppContext.setExtraClasspath("conf/jqm.properties");

        // Set configurations (order is important: need to unpack war before reading web.xml)
        webAppContext.setConfigurations(new Configuration[] { new WebInfConfiguration(), new WebXmlConfiguration(),
                new MetaInfConfiguration(), new FragmentConfiguration(), new AnnotationConfiguration(), new TagLibConfiguration() });

        h.addHandler(webAppContext);
    }
View Full Code Here

        super();  
        setConfigurations(new Configuration[]{
                new MavenWebInfConfiguration(),
                new WebXmlConfiguration(),
                new MetaInfConfiguration(),
                new FragmentConfiguration(),
                _envConfig = new EnvConfiguration(),
                new PlusConfiguration(),
                new AnnotationConfiguration(),
                new JettyWebXmlConfiguration()
        });
View Full Code Here

TOP

Related Classes of org.eclipse.jetty.webapp.FragmentConfiguration

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.