wicket.spring.common.web
Class ExampleApplication

java.lang.Object
  extended bywicket.Application
      extended bywicket.protocol.http.WebApplication
          extended bywicket.spring.SpringWebApplication
              extended bywicket.spring.common.web.ExampleApplication
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware, wicket.ISessionFactory

public class ExampleApplication
extends wicket.spring.SpringWebApplication

Application class for our examples

Author:
Igor Vaynberg (ivaynberg)

Field Summary
 
Fields inherited from class wicket.Application
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT
 
Constructor Summary
ExampleApplication()
           
 
Method Summary
 ContactDao getContactDao()
          Retrieves contact dao bean.
 ContactDao getContactDaoProxy()
          Returns a lazy init proxy for the dao bean.
 java.lang.Class getHomePage()
           
 
Methods inherited from class wicket.spring.SpringWebApplication
createSpringBeanProxy, createSpringBeanProxy, getSpringContextLocator, internalGetApplicationContext, internalInit, setApplicationContext
 
Methods inherited from class wicket.protocol.http.WebApplication
getApplicationKey, getDefaultRequestCycleFactory, getRequestCycleProcessor, getRequestLogger, getSessionAttributePrefix, getSessionFactory, getWicketServlet, init, internalDestroy, logEventTarget, logResponseTarget, mount, mount, mountBookmarkablePage, mountBookmarkablePage, mountBookmarkablePage, mountSharedResource, newRequestCycleProcessor, newSession, 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
 

Constructor Detail

ExampleApplication

public ExampleApplication()
Method Detail

getContactDao

public ContactDao getContactDao()
Retrieves contact dao bean. This bean should not be serialized so BE CAREFUL when using it.

Returns:
contact dao bean

getContactDaoProxy

public ContactDao getContactDaoProxy()
Returns a lazy init proxy for the dao bean. This proxy is safe to serialize and will take up very little space when serialized.

Returns:
a lazy init proxy for the dao bean

getHomePage

public java.lang.Class getHomePage()


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