Package org.eclipse.jetty.annotations

Examples of org.eclipse.jetty.annotations.AnnotationConfiguration$WebAppClassNameResolver


        context.setBaseResource(Resource.newResource(this.contextDir));
        context.setAttribute("org.eclipse.jetty.websocket.jsr356",Boolean.TRUE);

        // @formatter:off
        context.setConfigurations(new Configuration[] {
                new AnnotationConfiguration(),
                new WebXmlConfiguration(),
                new WebInfConfiguration(),
                new PlusConfiguration(),
                new MetaInfConfiguration(),
                new FragmentConfiguration(),
View Full Code Here


    WebAppContext context = new WebAppContext();
    context.setResourceBase(SystemPropertyUtil.get("BASE_HOME") + File.separator + "webapp");
    //context.setResourceBase("H:\\codes\\opensources\\github\\super-diamond\\super-diamond-server\\src\\main\\webapp");
    context.setContextPath("/superdiamond");
    context.setConfigurations(new Configuration[]{
        new AnnotationConfiguration(),
         new WebInfConfigurationExt(),
         new WebXmlConfiguration(),
             new MetaInfConfiguration(),
             new FragmentConfiguration(),
             new JettyWebXmlConfiguration()});
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

                new WebXmlConfiguration(),
                new MetaInfConfiguration(),
                new FragmentConfiguration(),
                _envConfig = new EnvConfiguration(),
                new PlusConfiguration(),
                new AnnotationConfiguration(),
                new JettyWebXmlConfiguration()
        });
        // Turn off copyWebInf option as it is not applicable for plugin.
        super.setCopyWebInf(false);
    }
View Full Code Here

TOP

Related Classes of org.eclipse.jetty.annotations.AnnotationConfiguration$WebAppClassNameResolver

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.