This documentation is for an old version of fiftyfive-wicket (2.0.9).


fiftyfive.wicket.spring
Class FoundationSpringApplication

java.lang.Object
  extended by org.apache.wicket.Application
      extended by org.apache.wicket.protocol.http.WebApplication
          extended by fiftyfive.wicket.FoundationApplication
              extended by fiftyfive.wicket.spring.FoundationSpringApplication

public abstract class FoundationSpringApplication
extends FoundationApplication

An extension of FoundationApplication that additionally enables SpringBean annotation support.

See Also:
SpringComponentInjector

Field Summary
 
Fields inherited from class org.apache.wicket.Application
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT
 
Constructor Summary
FoundationSpringApplication()
           
 
Method Summary
protected  ApplicationContext getApplicationContext()
          Override this method to change how the Spring context is located, for example during unit tests.
protected  void init()
          Delegates to initSpring() after calling super.
protected  void initSpring()
          Initializes the SpringComponentInjector.
 
Methods inherited from class fiftyfive.wicket.FoundationApplication
getStartupDate, getUptime, getVersion, initCleanMarkup, initDebugInformation, initHtmlHotDeploy, initRequestLogger, initResources, initVersionInformation, isDevelopmentMode
 
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, newRequestCycle, newRequestCycleProcessor, newSession, 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

FoundationSpringApplication

public FoundationSpringApplication()
Method Detail

init

protected void init()
Delegates to initSpring() after calling super.

Overrides:
init in class FoundationApplication

initSpring

protected void initSpring()
Initializes the SpringComponentInjector. This allows you to use SpringBean annotations in your Wicket pages and components, which is the easiest way to integrate Wicket and Spring.

See Also:
http://cwiki.apache.org/WICKET/spring.html#Spring-AnnotationbasedApproach

getApplicationContext

protected ApplicationContext getApplicationContext()
Override this method to change how the Spring context is located, for example during unit tests. The default implementation simply locates the Spring context by calling WebApplicationContextUtils.getRequiredWebApplicationContext(javax.servlet.ServletContext).



Copyright © 2011 55 Minutes. All Rights Reserved.