org.apache.wicket.spring.injection.annot
Class AnnotSpringWebApplication

java.lang.Object
  extended by org.apache.wicket.Application
      extended by org.apache.wicket.protocol.http.WebApplication
          extended by org.apache.wicket.spring.SpringWebApplication
              extended by org.apache.wicket.spring.injection.annot.AnnotSpringWebApplication
All Implemented Interfaces:
org.springframework.context.ApplicationContextAware

Deprecated. instead in application.init() do addComponentInstantiationListener(new SpringComponentInjector(this)); TODO remove post 1.3

public abstract class AnnotSpringWebApplication
extends SpringWebApplication

Convinience subclass of SpringWebApplication that puts an instance of AnnotSpringInjector into the InjectorHolder when the application is initialized.

Author:
Igor Vaynberg (ivaynberg)

Field Summary
 
Fields inherited from class org.apache.wicket.Application
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT
 
Constructor Summary
AnnotSpringWebApplication()
          Deprecated.  
 
Method Summary
protected  void internalInit()
          Deprecated. THIS METHOD IS NOT PART OF THE WICKET PUBLIC API.
 
Methods inherited from class org.apache.wicket.spring.SpringWebApplication
createSpringBeanProxy, createSpringBeanProxy, getSpringContextLocator, internalGetApplicationContext, setApplicationContext
 
Methods inherited from class org.apache.wicket.protocol.http.WebApplication
getApplicationKey, getConfigurationType, getDefaultRequestCycleFactory, getInitParameter, getRequestCycleProcessor, getResourceFinder, getServletContext, getSessionAttributePrefix, getWicketFilter, init, internalDestroy, 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
addComponentInstantiationListener, addComponentOnAfterRenderListener, addComponentOnBeforeRenderListener, addRenderHeadListener, configure, destroy, exists, get, 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, removeComponentOnBeforeRenderListener, removeRenderHeadListener, set, setMetaData, unset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotSpringWebApplication

public AnnotSpringWebApplication()
Deprecated. 
Method Detail

internalInit

protected void internalInit()
Deprecated. 
Description copied from class: WebApplication
THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. DO NOT CALL IT. Internal initialization. First determine the deployment mode. First check the system property -Dwicket.configuration. If it does not exist check the servlet init parameter ( <init-param><param-name>configuration</param-name>). If not found check the servlet context init parameter <context-param><param-name6gt;configuration</param-name>). If the parameter is "development" (which is default), settings appropriate for development are set. If it's "deployment" , deployment settings are used. If development is specified and a "sourceFolder" init parameter is also set, then resources in that folder will be polled for changes.

Overrides:
internalInit in class SpringWebApplication
See Also:
Application.internalInit()


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.