org.apache.tapestry.wml
Class WMLEngine

java.lang.Object
  extended by org.apache.tapestry.engine.AbstractEngine
      extended by org.apache.tapestry.engine.BaseEngine
          extended by org.apache.tapestry.wml.WMLEngine
All Implemented Interfaces:
Externalizable, Serializable, EventListener, HttpSessionBindingListener, IEngineServiceView, IEngine

public class WMLEngine
extends BaseEngine

Subclass of BaseEngine used for WML applications to change the Exception, StaleLink and StaleSession pages.

Since:
3.0
Version:
$Id: WMLEngine.java 243791 2004-02-19 17:38:13Z hlship $
Author:
David Solis
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.tapestry.engine.AbstractEngine
_specification, _specificationSource, _templateSource, DATA_SQUEEZER_NAME, DEFAULT_OUTPUT_ENCODING, ENHANCER_NAME, GLOBAL_NAME, OUTPUT_ENCODING_PROPERTY_NAME, PAGE_SOURCE_NAME, POOL_NAME, PROPERTY_SOURCE_NAME, RESOURCE_CHECKSUM_SOURCE_NAME, SCRIPT_SOURCE_NAME, SERVICE_MAP_NAME, SPECIFICATION_SOURCE_NAME, STRINGS_SOURCE_NAME, TEMPLATE_SOURCE_NAME, VISIT_CLASS_PROPERTY_NAME
 
Constructor Summary
WMLEngine()
           
 
Method Summary
protected  void activateExceptionPage(IRequestCycle cycle, ResponseOutputStream output, Throwable cause)
          Sets the Exception page's exception property, then renders the Exception page.
protected  String getExceptionPageName()
           
protected  String getStaleLinkPageName()
           
protected  String getStaleSessionPageName()
           
 
Methods inherited from class org.apache.tapestry.engine.BaseEngine
cleanupAfterRequest, createPageRecorder, extendDescription, forgetPage, getActivePageNames, getPageRecorder, readExternal, writeExternal
 
Methods inherited from class org.apache.tapestry.engine.AbstractEngine
clearCachedData, createComponentClassEnhancer, createComponentStringsSource, createDataSqueezer, createGlobal, createPageSource, createPool, createPropertySource, createRequestCycle, createResourceChecksumSource, createScriptSource, createSpecificationSource, createTemplateSource, createVisit, extractServiceName, getComponentClassEnhancer, getComponentMessagesSource, getContextPath, getDataSqueezer, getDefaultOutputEncoding, getGlobal, getHasVisit, getListeners, getLocale, getMonitor, getOutputEncoding, getPageSource, getPool, getPropertySource, getResourceChecksumSource, getResourceResolver, getScriptSource, getService, getServletPath, getSpecification, getSpecificationSource, getTemplateSource, getVisit, getVisit, handlePageRedirectException, handleRedirectException, handleStaleLinkException, handleStaleSessionException, isDirty, isResetServiceEnabled, isStateful, markDirty, redirect, renderResponse, reportException, restart, service, setLocale, setStateful, setupForRequest, setVisit, toString, valueBound, valueUnbound
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WMLEngine

public WMLEngine()
Method Detail

activateExceptionPage

protected void activateExceptionPage(IRequestCycle cycle,
                                     ResponseOutputStream output,
                                     Throwable cause)
                              throws ServletException
Description copied from class: AbstractEngine
Sets the Exception page's exception property, then renders the Exception page.

If the render throws an exception, then copious output is sent to System.err and a ServletException is thrown.

Overrides:
activateExceptionPage in class AbstractEngine
Throws:
ServletException

getExceptionPageName

protected String getExceptionPageName()
Overrides:
getExceptionPageName in class AbstractEngine
Since:
3.0

getStaleLinkPageName

protected String getStaleLinkPageName()
Overrides:
getStaleLinkPageName in class AbstractEngine
Since:
3.0

getStaleSessionPageName

protected String getStaleSessionPageName()
Overrides:
getStaleSessionPageName in class AbstractEngine
Since:
3.0