All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.guicedee.primefaces.showcase.BootPrimefacesExtensionsShowcase Maven / Gradle / Ivy

There is a newer version: 1.1.0.6-jre15
Show newest version
package com.guicedee.primefaces.showcase;

import com.guicedee.guicedinjection.GuiceContext;
import com.guicedee.guicedservlets.undertow.GuicedUndertow;
import com.guicedee.logger.LogFactory;

import java.util.logging.Level;


public class BootPrimefacesExtensionsShowcase
{
	public static void main(String[] args) throws Exception
	{
		int port = 7960;

		GuiceContext.instance().getConfig().setIncludeModuleAndJars(true);

		LogFactory.configureDefaultLogHiding();
		LogFactory.configureConsoleSingleLineOutput(Level.CONFIG);


		GuicedUndertow undertow = new GuicedUndertow();
		undertow.setHttp2(true);
		undertow.setHost("0.0.0.0");
		undertow.setPort(port);
		undertow.bootMe();

		System.out.println("Started");

	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy