org.jboss.errai.cdi.server.gwt
Class JettyLauncher

java.lang.Object
  extended by com.google.gwt.core.ext.ServletContainerLauncher
      extended by org.jboss.errai.cdi.server.gwt.JettyLauncher

public class JettyLauncher
extends com.google.gwt.core.ext.ServletContainerLauncher

A ServletContainerLauncher for an embedded Jetty server.


Nested Class Summary
static class JettyLauncher.JettyRequestLogger
          Log jetty requests/responses to TreeLogger.
protected static class JettyLauncher.JettyServletContainer
          The resulting ServletContainer this is launched.
static class JettyLauncher.JettyTreeLogger
          An adapter for the Jetty logging system to GWT's TreeLogger.
protected static class JettyLauncher.WebAppContextWithReload
          A WebAppContext tailored to GWT hosted mode.
 
Constructor Summary
JettyLauncher()
           
 
Method Summary
protected  JettyLauncher.JettyServletContainer createServletContainer(com.google.gwt.core.ext.TreeLogger logger, File appRootDir, org.mortbay.jetty.Server server, org.mortbay.jetty.webapp.WebAppContext wac, int localPort)
           
protected  org.mortbay.jetty.webapp.WebAppContext createWebAppContext(com.google.gwt.core.ext.TreeLogger logger, File appRootDir)
           
protected  org.mortbay.jetty.AbstractConnector getConnector()
           
 String getIconPath()
           
 String getName()
           
 com.google.gwt.core.ext.ServletContainer start(com.google.gwt.core.ext.TreeLogger logger, int port, File appRootDir)
           
 
Methods inherited from class com.google.gwt.core.ext.ServletContainerLauncher
getIconBytes, isSecure, processArguments, setBindAddress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JettyLauncher

public JettyLauncher()
Method Detail

getIconPath

public String getIconPath()
Overrides:
getIconPath in class com.google.gwt.core.ext.ServletContainerLauncher

getName

public String getName()
Overrides:
getName in class com.google.gwt.core.ext.ServletContainerLauncher

start

public com.google.gwt.core.ext.ServletContainer start(com.google.gwt.core.ext.TreeLogger logger,
                                                      int port,
                                                      File appRootDir)
                                               throws Exception
Specified by:
start in class com.google.gwt.core.ext.ServletContainerLauncher
Throws:
Exception

getConnector

protected org.mortbay.jetty.AbstractConnector getConnector()

createServletContainer

protected JettyLauncher.JettyServletContainer createServletContainer(com.google.gwt.core.ext.TreeLogger logger,
                                                                     File appRootDir,
                                                                     org.mortbay.jetty.Server server,
                                                                     org.mortbay.jetty.webapp.WebAppContext wac,
                                                                     int localPort)

createWebAppContext

protected org.mortbay.jetty.webapp.WebAppContext createWebAppContext(com.google.gwt.core.ext.TreeLogger logger,
                                                                     File appRootDir)


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.