|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.Application
org.apache.wicket.protocol.http.WebApplication
org.jboss.weld.wicket.WeldApplication
public abstract class WeldApplication
A convenience subclass of wicket's WebApplication which adds the hooks necessary to use JSR-299 injections in wicket components, as well as manage JSR-299 conversation scopes with Wicket page metadata. If you have your own WebApplication subclass, and can't subclass this class, you just need to do the three things that this class does, i.e. register the WeldComponentInstantiationListener, and override the two methods below to return the RequestCycle and IRequestCycleProcessor subclasses specific to Weld, or your subclasses of those classes.
WebApplication,
WeldWebRequestCycleProcessor,
WeldRequestCycle| Field Summary |
|---|
| Fields inherited from class org.apache.wicket.Application |
|---|
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT |
| Constructor Summary | |
|---|---|
WeldApplication()
|
|
| Method Summary | |
|---|---|
protected void |
internalInit()
Add our component instantiation listener |
org.apache.wicket.RequestCycle |
newRequestCycle(org.apache.wicket.Request request,
org.apache.wicket.Response response)
Override to return our Weld-specific request cycle |
protected org.apache.wicket.request.IRequestCycleProcessor |
newRequestCycleProcessor()
Override to return our Weld-specific request cycle processor |
| 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, newSession, newSession, newSession, newSessionStore, newWebRequest, newWebResponse, outputDevelopmentModeWarning, sessionDestroyed, setApplicationKey, setWicketFilter, unmount |
| Methods inherited from class org.apache.wicket.Application |
|---|
addComponentInstantiationListener, addComponentOnAfterRenderListener, addPostComponentOnBeforeRenderListener, addPreComponentOnBeforeRenderListener, addRenderHeadListener, configure, destroy, exists, 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, setMetaData, unset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WeldApplication()
| Method Detail |
|---|
protected void internalInit()
internalInit in class org.apache.wicket.protocol.http.WebApplicationWeldComponentInstantiationListenerprotected org.apache.wicket.request.IRequestCycleProcessor newRequestCycleProcessor()
newRequestCycleProcessor in class org.apache.wicket.protocol.http.WebApplicationWeldWebRequestCycleProcessor
public org.apache.wicket.RequestCycle newRequestCycle(org.apache.wicket.Request request,
org.apache.wicket.Response response)
newRequestCycle in class org.apache.wicket.protocol.http.WebApplicationWeldRequestCycle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||