org.apache.wicket.spring.injection.annot
Class AnnotSpringWebApplication
java.lang.Object
org.apache.wicket.Application
org.apache.wicket.protocol.http.WebApplication
org.apache.wicket.spring.SpringWebApplication
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)
Method Summary |
protected void |
internalInit()
Deprecated. THIS METHOD IS NOT PART OF THE WICKET PUBLIC API. |
Methods inherited from class org.apache.wicket.protocol.http.WebApplication |
addIgnoreMountPath, get, getApplicationKey, getConfigurationType, getDefaultRequestCycleFactory, getInitParameter, getRequestCycleProcessor, getResourceFinder, getServletContext, getSessionAttributePrefix, 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 |
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 |
AnnotSpringWebApplication
public AnnotSpringWebApplication()
- Deprecated.
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-2011 Apache Software Foundation. All Rights Reserved.