wicket.authorization.strategies.role.example
Class RolesApplication

java.lang.Object
  extended by wicket.Application
      extended by wicket.protocol.http.WebApplication
          extended by wicket.authorization.strategies.role.example.RolesApplication
All Implemented Interfaces:
wicket.ISessionFactory

public class RolesApplication
extends wicket.protocol.http.WebApplication
implements wicket.ISessionFactory

Application object for this example.

Author:
Eelco Hillenius

Field Summary
static java.util.List<User> USERS
          User DB.
 
Fields inherited from class wicket.Application
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT
 
Constructor Summary
RolesApplication()
          Construct.
 
Method Summary
 java.lang.Class getHomePage()
           
protected  void init()
           
 wicket.Session newSession()
           
 
Methods inherited from class wicket.protocol.http.WebApplication
getApplicationKey, getDefaultRequestCycleFactory, getRequestCycleProcessor, getRequestLogger, getSessionAttributePrefix, getSessionFactory, getWicketServlet, internalDestroy, internalInit, logEventTarget, logResponseTarget, mount, mount, mountBookmarkablePage, mountBookmarkablePage, mountBookmarkablePage, mountSharedResource, newRequestCycleProcessor, newSessionStore, newWebRequest, newWebResponse, sessionDestroyed, setApplicationKey, setRequestLogger, setSessionFactory, setWicketServlet, unmount
 
Methods inherited from class wicket.Application
addComponentInstantiationListener, configure, configure, configure, destroy, exists, get, get, getAjaxSettings, getApplicationSettings, getConfigurationType, getDebugSettings, getExceptionSettings, getFrameworkSettings, getMarkupCache, getMarkupSettings, getMetaData, getName, getPageSettings, getRequestCycleSettings, getResourceSettings, getSecuritySettings, getSessionSettings, getSessionStore, getSettings, getSharedResources, initializeComponents, isAttached, removeComponentInstantiationListener, set, setMetaData, unset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USERS

public static java.util.List<User> USERS
User DB.

Constructor Detail

RolesApplication

public RolesApplication()
Construct.

Method Detail

getHomePage

public java.lang.Class getHomePage()
Specified by:
getHomePage in class wicket.Application
See Also:
Application.getHomePage()

newSession

public wicket.Session newSession()
Specified by:
newSession in interface wicket.ISessionFactory
Overrides:
newSession in class wicket.protocol.http.WebApplication
See Also:
ISessionFactory.newSession()

init

protected void init()
Overrides:
init in class wicket.protocol.http.WebApplication


Copyright © 2005-2007 Wicket developers. All Rights Reserved.