org.efaps.ui.wicket
Class EFapsApplication

java.lang.Object
  extended by org.apache.wicket.Application
      extended by org.apache.wicket.protocol.http.WebApplication
          extended by org.efaps.ui.wicket.EFapsApplication

public class EFapsApplication
extends org.apache.wicket.protocol.http.WebApplication

This Class presents the WebApplication for eFaps using the Wicket-Framework.
It is the first class which is instantiated from the WicketServlet. Here the Sessions for each user a created and basic Settings are set.

Version:
$Id: EFapsApplication.java 4605 2010-05-28 15:30:35Z jan.moxter $
Author:
Jan Moxter

Field Summary
 
Fields inherited from class org.apache.wicket.Application
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT
 
Constructor Summary
EFapsApplication()
           
 
Method Summary
 java.lang.Class<MainPage> getHomePage()
           
protected  void init()
           
 org.apache.wicket.RequestCycle newRequestCycle(org.apache.wicket.Request _request, org.apache.wicket.Response _response)
          New request cycle.
 org.apache.wicket.Session newSession(org.apache.wicket.Request _request, org.apache.wicket.Response _response)
           
 
Methods inherited from class org.apache.wicket.protocol.http.WebApplication
addIgnoreMountPath, get, getApplicationKey, getConfigurationType, getDefaultRequestCycleFactory, getInitParameter, getRequestCycleProcessor, getResourceFinder, getServletContext, getSessionAttributePrefix, getSessionAttributePrefix, getWicketFilter, internalDestroy, internalInit, logEventTarget, logResponseTarget, mount, mount, mountBookmarkablePage, mountBookmarkablePage, mountSharedResource, newAjaxRequestTarget, newRequestCycleProcessor, newSession, newSession, newSessionStore, newWebRequest, newWebResponse, outputDevelopmentModeWarning, sessionDestroyed, setApplicationKey, setWicketFilter, unmount
 
Methods inherited from class org.apache.wicket.Application
addComponentInstantiationListener, addComponentOnAfterRenderListener, addPostComponentOnBeforeRenderListener, addPreComponentOnBeforeRenderListener, addRenderHeadListener, configure, destroy, exists, 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, removePostComponentOnBeforeRenderListener, removePreComponentOnBeforeRenderListener, removeRenderHeadListener, set, setMetaData, unset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EFapsApplication

public EFapsApplication()
Method Detail

newRequestCycle

public org.apache.wicket.RequestCycle newRequestCycle(org.apache.wicket.Request _request,
                                                      org.apache.wicket.Response _response)
New request cycle.

Overrides:
newRequestCycle in class org.apache.wicket.protocol.http.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<MainPage> getHomePage()
Specified by:
getHomePage in class org.apache.wicket.Application
Returns:
Class of the main page
See Also:
Application.getHomePage()

init

protected void init()
Overrides:
init in class org.apache.wicket.protocol.http.WebApplication
See Also:
WebApplication.init()

newSession

public org.apache.wicket.Session newSession(org.apache.wicket.Request _request,
                                            org.apache.wicket.Response _response)
Overrides:
newSession in class org.apache.wicket.protocol.http.WebApplication
Parameters:
_request - the request
_response - the response
Returns:
a new Session for the request
See Also:
WebApplication.newSession(org.apache.wicket.Request, org.apache.wicket.Response)


Copyright © 2003-2010 The eFaps Team. All Rights Reserved.