|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.Application org.apache.wicket.protocol.http.WebApplication org.jboss.seam.wicket.SeamApplication
public abstract class SeamApplication
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 SeamComponentInstantiationListener, and override the two methods below to return the RequestCycle and IRequestCycleProcessor subclasses specific to Seam, or your subclasses of those classes.
WebApplication
,
SeamWebRequestCycleProcessor
,
SeamRequestCycle
Field Summary |
---|
Fields inherited from class org.apache.wicket.Application |
---|
CONFIGURATION, CONTEXTPATH, DEPLOYMENT, DEVELOPMENT |
Constructor Summary | |
---|---|
SeamApplication()
|
Method Summary | |
---|---|
protected Class<? extends SeamWebRequestCycleProcessor> |
getWebRequestCycleProcessorClass()
|
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 Seam-specific request cycle |
protected org.apache.wicket.request.IRequestCycleProcessor |
newRequestCycleProcessor()
Override to return our Seam-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 |
---|
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 |
---|
public SeamApplication()
Method Detail |
---|
protected void internalInit()
internalInit
in class org.apache.wicket.protocol.http.WebApplication
SeamComponentInstantiationListener
protected Class<? extends SeamWebRequestCycleProcessor> getWebRequestCycleProcessorClass()
protected org.apache.wicket.request.IRequestCycleProcessor newRequestCycleProcessor()
newRequestCycleProcessor
in class org.apache.wicket.protocol.http.WebApplication
SeamWebRequestCycleProcessor
public org.apache.wicket.RequestCycle newRequestCycle(org.apache.wicket.Request request, org.apache.wicket.Response response)
newRequestCycle
in class org.apache.wicket.protocol.http.WebApplication
SeamRequestCycle
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |