org.apache.wicket.util.tester
Class BaseWicketTester.DummyWebApplication

java.lang.Object
  extended by org.apache.wicket.Application
      extended by org.apache.wicket.protocol.http.WebApplication
          extended by org.apache.wicket.util.tester.BaseWicketTester.DummyWebApplication
Enclosing class:
BaseWicketTester

public static class BaseWicketTester.DummyWebApplication
extends WebApplication

Author:
frankbille

Field Summary
 
Fields inherited from class org.apache.wicket.Application
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT
 
Constructor Summary
BaseWicketTester.DummyWebApplication()
           
 
Method Summary
 java.lang.Class getHomePage()
          Application subclasses must specify a home page class by implementing this abstract method.
protected  ISessionStore newSessionStore()
          Creates a new session facade.
protected  void outputDevelopmentModeWarning()
          This method prints a warning to stderr that we are starting in development mode.
 
Methods inherited from class org.apache.wicket.protocol.http.WebApplication
getApplicationKey, getConfigurationType, getDefaultRequestCycleFactory, getInitParameter, getRequestCycleProcessor, getResourceFinder, getServletContext, getSessionAttributePrefix, getWicketFilter, init, internalDestroy, internalInit, logEventTarget, logResponseTarget, mount, mount, mountBookmarkablePage, mountBookmarkablePage, mountSharedResource, newAjaxRequestTarget, newRequestCycle, newRequestCycleProcessor, newSession, newSession, newSession, newWebRequest, newWebResponse, sessionDestroyed, setApplicationKey, setWicketFilter, unmount
 
Methods inherited from class org.apache.wicket.Application
addComponentInstantiationListener, addComponentOnAfterRenderListener, addComponentOnBeforeRenderListener, addRenderHeadListener, configure, destroy, exists, get, get, getApplicationKeys, getApplicationSettings, getConverterLocator, getDebugSettings, getExceptionSettings, getFrameworkSettings, getMarkupCache, getMarkupSettings, getMetaData, getName, getPageSettings, getRequestCycleFactory, getRequestCycleSettings, getRequestLogger, getRequestLoggerSettings, getResourceSettings, getSecuritySettings, getSessionFactory, getSessionSettings, getSessionStore, getSharedResources, initializeComponents, newConverterLocator, newRequestCycle, newRequestLogger, notifyRenderHeadListener, onDestroy, removeComponentInstantiationListener, removeComponentOnAfterRenderListener, removeComponentOnBeforeRenderListener, removeRenderHeadListener, set, setMetaData, unset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseWicketTester.DummyWebApplication

public BaseWicketTester.DummyWebApplication()
Method Detail

getHomePage

public java.lang.Class getHomePage()
Description copied from class: Application
Application subclasses must specify a home page class by implementing this abstract method.

Specified by:
getHomePage in class Application
Returns:
Home page class for this application

outputDevelopmentModeWarning

protected void outputDevelopmentModeWarning()
Description copied from class: WebApplication
This method prints a warning to stderr that we are starting in development mode.

If you really need to test Wicket in development mode on a staging server somewhere and are annoying the sysadmin for it with stderr messages, you can override this to make it do something else.

Overrides:
outputDevelopmentModeWarning in class WebApplication

newSessionStore

protected ISessionStore newSessionStore()
Description copied from class: Application
Creates a new session facade. Is called once per application, and is typically not something clients reimplement.

Overrides:
newSessionStore in class WebApplication
Returns:
The session facade
See Also:
Application.newSessionStore()


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.