org.apache.wicket.examples.helloworld
Class HelloWorldApplication

java.lang.Object
  extended by org.apache.wicket.Application
      extended by org.apache.wicket.protocol.http.WebApplication
          extended by org.apache.wicket.examples.WicketExampleApplication
              extended by org.apache.wicket.examples.helloworld.HelloWorldApplication

public class HelloWorldApplication
extends WicketExampleApplication

Application class for hello world example.

Author:
Jonathan Locke

Field Summary
 
Fields inherited from class org.apache.wicket.Application
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT
 
Constructor Summary
HelloWorldApplication()
          Constructor.
 
Method Summary
 java.lang.Class getHomePage()
          Application subclasses must specify a home page class by implementing this abstract method.
 RequestCycle newRequestCycle(Request request, Response response)
          Creates a new RequestCycle object.
 
Methods inherited from class org.apache.wicket.examples.WicketExampleApplication
init
 
Methods inherited from class org.apache.wicket.protocol.http.WebApplication
getApplicationKey, getConfigurationType, getDefaultRequestCycleFactory, getInitParameter, getRequestCycleProcessor, getResourceFinder, getServletContext, getSessionAttributePrefix, getWicketFilter, internalDestroy, internalInit, logEventTarget, logResponseTarget, mount, mount, mountBookmarkablePage, mountBookmarkablePage, mountSharedResource, newAjaxRequestTarget, newRequestCycleProcessor, newSession, newSession, newSession, newSessionStore, newWebRequest, newWebResponse, outputDevelopmentModeWarning, 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

HelloWorldApplication

public HelloWorldApplication()
Constructor.

Method Detail

newRequestCycle

public RequestCycle newRequestCycle(Request request,
                                    Response response)
Description copied from class: Application
Creates a new RequestCycle object. Override this method if you want to provide a custom request cycle.

Overrides:
newRequestCycle in class WebApplication
Parameters:
request - The request
response - The response
Returns:
The request cycle
See Also:
WebApplication.newRequestCycle(org.apache.wicket.Request, org.apache.wicket.Response)

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
See Also:
Application.getHomePage()


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