org.apache.tapestry.engine
Class BaseEngine
java.lang.Object
org.apache.tapestry.engine.AbstractEngine
org.apache.tapestry.engine.BaseEngine
- All Implemented Interfaces:
- IEngine, WebRequestServicer
- Direct Known Subclasses:
- WMLEngine
- public class BaseEngine
- extends AbstractEngine
Concrete implementation of IEngine
used for ordinary applications.
All page state information is maintained in the HttpSession
using
instances of org.apache.tapestry.record.SessionPageRecorder
.
- Author:
- Howard Lewis Ship
Methods inherited from class org.apache.tapestry.engine.AbstractEngine |
activateExceptionPage, getClassResolver, getDataSqueezer, getExceptionPageName, getGlobal, getHasVisit, getInfrastructure, getListeners, getLocale, getOutputEncoding, getPropertySource, getScriptSource, getService, getSpecification, getSpecificationSource, getStaleLinkPageName, getStaleSessionPageName, getVisit, getVisit, handlePageRedirectException, handleRedirectException, handleStaleLinkException, handleStaleSessionException, redirect, renderResponse, reportException, service, setLocale, setVisit, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BaseEngine
public BaseEngine()
cleanupAfterRequest
protected void cleanupAfterRequest(IRequestCycle cycle)
- Removes all page recorders that contain no changes, or are marked for discard. Subclasses
should invoke this implementation in addition to providing thier own.
- Specified by:
cleanupAfterRequest
in class AbstractEngine
getActivePageNames
public java.util.Collection getActivePageNames()
- Returns an unmodifiable
Collection
of the page names for which IPageRecorder
instances exist.
- Specified by:
getActivePageNames
in class AbstractEngine
getPageRecorder
public IPageRecorder getPageRecorder(java.lang.String pageName,
IRequestCycle cycle)
createPageRecorder
public IPageRecorder createPageRecorder(java.lang.String pageName,
IRequestCycle cycle)