org.cruxframework.crux.core.server.launcher
Class CruxJettyLauncher

java.lang.Object
  extended by com.google.gwt.core.ext.ServletContainerLauncher
      extended by com.google.gwt.dev.shell.jetty.JettyLauncher
          extended by org.cruxframework.crux.core.server.launcher.CruxJettyLauncher

public class CruxJettyLauncher
extends com.google.gwt.dev.shell.jetty.JettyLauncher

Extends JettyLauncher to allow applications to use custom resources on jetty (like datasources). This class implements the solution described here

Author:
Thiago da Rosa de Bustamante

Nested Class Summary
 
Nested classes/interfaces inherited from class com.google.gwt.dev.shell.jetty.JettyLauncher
com.google.gwt.dev.shell.jetty.JettyLauncher.JDTCompiler16, com.google.gwt.dev.shell.jetty.JettyLauncher.JettyRequestLogger, com.google.gwt.dev.shell.jetty.JettyLauncher.JettyServletContainer, com.google.gwt.dev.shell.jetty.JettyLauncher.JettyTreeLogger, com.google.gwt.dev.shell.jetty.JettyLauncher.WebAppContextWithReload
 
Field Summary
protected static String[] __dftConfigurationClasses
           
 
Constructor Summary
CruxJettyLauncher()
           
 
Method Summary
protected  org.eclipse.jetty.webapp.WebAppContext createWebAppContext(com.google.gwt.core.ext.TreeLogger logger, File appRootDir)
           
protected  void initializeCruxBridge(URL webInf)
          Initialize Crux Bridge
 
Methods inherited from class com.google.gwt.dev.shell.jetty.JettyLauncher
createServletContainer, getConnector, getName, isSecure, processArguments, setBaseRequestLogLevel, setBindAddress, start
 
Methods inherited from class com.google.gwt.core.ext.ServletContainerLauncher
getIconBytes, getIconPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__dftConfigurationClasses

protected static String[] __dftConfigurationClasses
Constructor Detail

CruxJettyLauncher

public CruxJettyLauncher()
Method Detail

createWebAppContext

protected org.eclipse.jetty.webapp.WebAppContext createWebAppContext(com.google.gwt.core.ext.TreeLogger logger,
                                                                     File appRootDir)
Overrides:
createWebAppContext in class com.google.gwt.dev.shell.jetty.JettyLauncher

initializeCruxBridge

protected void initializeCruxBridge(URL webInf)
Initialize Crux Bridge

Parameters:
webInf -


Copyright © 2014. All rights reserved.