|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IEngineServiceView
Additional methods implemented by the engine that are
exposed to engine services.
| Field Summary |
|---|
| Fields inherited from interface org.apache.tapestry.IEngine |
|---|
EXCEPTION_PAGE, HOME_PAGE, STALE_LINK_PAGE, STALE_SESSION_PAGE |
| Method Summary | |
|---|---|
void |
clearCachedData()
Invoked (typically by the reset service) to clear all cached data known to the engine. |
void |
renderResponse(IRequestCycle cycle,
ResponseOutputStream output)
Invoked by a service to force the page selected by the IRequestCycle
to be renderred. |
void |
reportException(String reportTitle,
Throwable ex)
Writes a detailed report of the exception to System.err. |
void |
restart(IRequestCycle cycle)
Invoked to restart the application from start; this most frequently follows some kind of catastrophic failure. |
| Methods inherited from interface org.apache.tapestry.IEngine |
|---|
createPageRecorder, forgetPage, getComponentClassEnhancer, getComponentMessagesSource, getContextPath, getDataSqueezer, getGlobal, getLocale, getOutputEncoding, getPageRecorder, getPageSource, getPool, getPropertySource, getResourceChecksumSource, getResourceResolver, getScriptSource, getService, getServletPath, getSpecification, getSpecificationSource, getTemplateSource, getVisit, getVisit, isResetServiceEnabled, isStateful, service, setLocale, setVisit |
| Method Detail |
|---|
void renderResponse(IRequestCycle cycle,
ResponseOutputStream output)
throws ServletException,
IOException
IRequestCycle
to be renderred. This takes care of a number of bookkeeping issues, such
as committing changes in page recorders.
ServletException
IOException
void restart(IRequestCycle cycle)
throws IOException
HttpSession
and force a redirect to the application servlet (i.e., invoking the home service
in a subsequent request cycle).
IOExceptionvoid clearCachedData()
void reportException(String reportTitle,
Throwable ex)
System.err.
This is invoked by services that can't write an HTML description
of the error because they don't provide text/html content (such as
an asset that creates an image).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||