org.openengsb.ui.common
Class OpenEngSBWicketApplication

java.lang.Object
  extended by org.apache.wicket.Application
      extended by org.apache.wicket.protocol.http.WebApplication
          extended by org.apache.wicket.authentication.AuthenticatedWebApplication
              extended by org.openengsb.ui.common.OpenEngSBWicketApplication
All Implemented Interfaces:
org.apache.wicket.authorization.IUnauthorizedComponentInstantiationListener, org.apache.wicket.authorization.strategies.role.IRoleCheckingStrategy

public abstract class OpenEngSBWicketApplication
extends org.apache.wicket.authentication.AuthenticatedWebApplication

Base class for Wicket Applications in OpenEngSB and client projects. It enforces authentication and initializes the spring-injector.


Field Summary
 
Fields inherited from class org.apache.wicket.Application
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT
 
Constructor Summary
OpenEngSBWicketApplication()
           
 
Method Summary
protected  void addInjector()
           
protected  java.lang.Class<? extends org.apache.wicket.authentication.AuthenticatedWebSession> getWebSessionClass()
           
protected  void init()
           
 org.apache.wicket.ajax.AjaxRequestTarget newAjaxRequestTarget(org.apache.wicket.Page page)
           
 org.apache.wicket.Session newSession(org.apache.wicket.Request request, org.apache.wicket.Response response)
           
 
Methods inherited from class org.apache.wicket.authentication.AuthenticatedWebApplication
getSignInPageClass, hasAnyRole, onUnauthorizedInstantiation, onUnauthorizedPage
 
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, newRequestCycle, newRequestCycleProcessor, newSession, newSession, newSessionStore, newWebRequest, newWebResponse, outputDevelopmentModeWarning, sessionDestroyed, setApplicationKey, setWicketFilter, unmount
 
Methods inherited from class org.apache.wicket.Application
addComponentInitializationListener, addComponentInstantiationListener, addComponentOnAfterRenderListener, addPostComponentOnBeforeRenderListener, addPreComponentOnBeforeRenderListener, addRenderHeadListener, configure, decorateHeaderResponse, destroy, exists, fireComponentInitializationListeners, get, getApplicationKeys, getApplicationSettings, getConverterLocator, getDebugSettings, getExceptionSettings, getFrameworkSettings, getHomePage, 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, setHeaderResponseDecorator, setMetaData, unset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenEngSBWicketApplication

public OpenEngSBWicketApplication()
Method Detail

init

protected void init()
Overrides:
init in class org.apache.wicket.authentication.AuthenticatedWebApplication

addInjector

protected void addInjector()

newAjaxRequestTarget

public org.apache.wicket.ajax.AjaxRequestTarget newAjaxRequestTarget(org.apache.wicket.Page page)
Overrides:
newAjaxRequestTarget in class org.apache.wicket.protocol.http.WebApplication

newSession

public org.apache.wicket.Session newSession(org.apache.wicket.Request request,
                                            org.apache.wicket.Response response)
Overrides:
newSession in class org.apache.wicket.authentication.AuthenticatedWebApplication

getWebSessionClass

protected java.lang.Class<? extends org.apache.wicket.authentication.AuthenticatedWebSession> getWebSessionClass()
Specified by:
getWebSessionClass in class org.apache.wicket.authentication.AuthenticatedWebApplication


Copyright © 2009-2011. All Rights Reserved.