Examples of EnvConfiguration


Examples of org.eclipse.jetty.plus.webapp.EnvConfiguration

            context.setServletHandler(new SipServletHandler());
           
            Thread.currentThread().setContextClassLoader(context.getClassLoader());
           
      PlusConfiguration plusConfiguration = new PlusConfiguration();
      EnvConfiguration envConfiguration = new EnvConfiguration();
      envConfiguration.setJettyEnvXml(getClass().getResource("/jetty-env.xml"));

      // Need to add a listener or a servlet to ensure that SipFactory is set in JNDI
      context.getSipMetaData().addListener("org.cipango.plus.sipapp.Listener");
     
      context.setConfigurations(new Configuration[] {envConfiguration, plusConfiguration, new SipXmlConfiguration()});
View Full Code Here

Examples of org.eclipse.jetty.plus.webapp.EnvConfiguration

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

        return context;
    }
View Full Code Here

Examples of org.eclipse.jetty.plus.webapp.EnvConfiguration

        setConfigurations(new Configuration[]{
                new MavenWebInfConfiguration(),
                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.
View Full Code Here

Examples of org.mortbay.jetty.plus.webapp.EnvConfiguration

    {
        this.name = name;
        TaskLog.log("\nConfiguring Jetty for web application: " + name);

        this.configurations = new Configuration[] { new WebInfConfiguration(),
                new EnvConfiguration(), new JettyWebAppConfiguration(), new JettyWebXmlConfiguration(),
                new TagLibConfiguration() };
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.