001 // Copyright 2004, 2005 The Apache Software Foundation
002 //
003 // Licensed under the Apache License, Version 2.0 (the "License");
004 // you may not use this file except in compliance with the License.
005 // You may obtain a copy of the License at
006 //
007 // http://www.apache.org/licenses/LICENSE-2.0
008 //
009 // Unless required by applicable law or agreed to in writing, software
010 // distributed under the License is distributed on an "AS IS" BASIS,
011 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
012 // See the License for the specific language governing permissions and
013 // limitations under the License.
014
015 package org.apache.tapestry.engine;
016
017 /**
018 * Null implementation of {@link org.apache.tapestry.engine.IMonitor}.
019 *
020 * @author Howard Lewis Ship
021 * @since 3.0
022 * @deprecated To be removed in 4.1 with no direct replacement
023 */
024
025 public class NullMonitor implements IMonitor
026 {
027 public void pageCreateBegin(String pageName)
028 {
029 }
030
031 public void pageCreateEnd(String pageName)
032 {
033 }
034
035 public void pageLoadBegin(String pageName)
036 {
037 }
038
039 public void pageLoadEnd(String pageName)
040 {
041 }
042
043 public void pageRenderBegin(String pageName)
044 {
045 }
046
047 public void pageRenderEnd(String pageName)
048 {
049 }
050
051 public void pageRewindBegin(String pageName)
052 {
053 }
054
055 public void pageRewindEnd(String pageName)
056 {
057 }
058
059 public void serviceBegin(String serviceName, String detailMessage)
060 {
061 }
062
063 public void serviceEnd(String serviceName)
064 {
065 }
066
067 public void serviceException(Throwable exception)
068 {
069 }
070
071 public void sessionBegin()
072 {
073 }
074
075 }