org.apache.tapestry.engine
Class NullMonitor

java.lang.Object
  extended by org.apache.tapestry.engine.NullMonitor
All Implemented Interfaces:
IMonitor

public class NullMonitor
extends Object
implements IMonitor

Null implementation of IMonitor.

Since:
3.0
Version:
$Id: NullMonitor.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Field Summary
static NullMonitor SHARED
           
 
Constructor Summary
NullMonitor()
           
 
Method Summary
 void pageCreateBegin(String pageName)
          Invoked before constructing a page.
 void pageCreateEnd(String pageName)
          Invoked after successfully constructing a page and all of its components.
 void pageLoadBegin(String pageName)
          Invoked when a page is loaded.
 void pageLoadEnd(String pageName)
          Invoked once a page is completely loaded and rolled back to its prior state.
 void pageRenderBegin(String pageName)
          Invoked before a page render begins.
 void pageRenderEnd(String pageName)
          Invoked after a page has succesfully rendered.
 void pageRewindBegin(String pageName)
          Invoked before a page rewind (to respond to an action) begins.
 void pageRewindEnd(String pageName)
          Invoked after a page has succesfully been rewound (which includes any activity related to the action listener).
 void serviceBegin(String serviceName, String detailMessage)
          Invoked when a service begins processing.
 void serviceEnd(String serviceName)
          Invoked when a service successfully ends.
 void serviceException(Throwable exception)
          Invoked when a service throws an exception rather than completing normally.
 void sessionBegin()
          Invoked when a session is initiated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHARED

public static final NullMonitor SHARED
Constructor Detail

NullMonitor

public NullMonitor()
Method Detail

pageCreateBegin

public void pageCreateBegin(String pageName)
Description copied from interface: IMonitor
Invoked before constructing a page.

Specified by:
pageCreateBegin in interface IMonitor

pageCreateEnd

public void pageCreateEnd(String pageName)
Description copied from interface: IMonitor
Invoked after successfully constructing a page and all of its components.

Specified by:
pageCreateEnd in interface IMonitor

pageLoadBegin

public void pageLoadBegin(String pageName)
Description copied from interface: IMonitor
Invoked when a page is loaded. This includes time to locate or create an instance of the page and rollback its state (to any previously recorded value).

Specified by:
pageLoadBegin in interface IMonitor

pageLoadEnd

public void pageLoadEnd(String pageName)
Description copied from interface: IMonitor
Invoked once a page is completely loaded and rolled back to its prior state.

Specified by:
pageLoadEnd in interface IMonitor

pageRenderBegin

public void pageRenderBegin(String pageName)
Description copied from interface: IMonitor
Invoked before a page render begins.

Specified by:
pageRenderBegin in interface IMonitor

pageRenderEnd

public void pageRenderEnd(String pageName)
Description copied from interface: IMonitor
Invoked after a page has succesfully rendered.

Specified by:
pageRenderEnd in interface IMonitor

pageRewindBegin

public void pageRewindBegin(String pageName)
Description copied from interface: IMonitor
Invoked before a page rewind (to respond to an action) begins.

Specified by:
pageRewindBegin in interface IMonitor

pageRewindEnd

public void pageRewindEnd(String pageName)
Description copied from interface: IMonitor
Invoked after a page has succesfully been rewound (which includes any activity related to the action listener).

Specified by:
pageRewindEnd in interface IMonitor

serviceBegin

public void serviceBegin(String serviceName,
                         String detailMessage)
Description copied from interface: IMonitor
Invoked when a service begins processing.

Specified by:
serviceBegin in interface IMonitor

serviceEnd

public void serviceEnd(String serviceName)
Description copied from interface: IMonitor
Invoked when a service successfully ends.

Specified by:
serviceEnd in interface IMonitor

serviceException

public void serviceException(Throwable exception)
Description copied from interface: IMonitor
Invoked when a service throws an exception rather than completing normally. Processing of the request may continue with the display of an exception page.

serviceException() is always invoked before IMonitor.serviceEnd(String).

Specified by:
serviceException in interface IMonitor

sessionBegin

public void sessionBegin()
Description copied from interface: IMonitor
Invoked when a session is initiated. This is typically done from the implementation of the home service.

Specified by:
sessionBegin in interface IMonitor