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 */ 023 024 public class NullMonitor implements IMonitor 025 { 026 public void pageCreateBegin(String pageName) 027 { 028 } 029 030 public void pageCreateEnd(String pageName) 031 { 032 } 033 034 public void pageLoadBegin(String pageName) 035 { 036 } 037 038 public void pageLoadEnd(String pageName) 039 { 040 } 041 042 public void pageRenderBegin(String pageName) 043 { 044 } 045 046 public void pageRenderEnd(String pageName) 047 { 048 } 049 050 public void pageRewindBegin(String pageName) 051 { 052 } 053 054 public void pageRewindEnd(String pageName) 055 { 056 } 057 058 public void serviceBegin(String serviceName, String detailMessage) 059 { 060 } 061 062 public void serviceEnd(String serviceName) 063 { 064 } 065 066 public void serviceException(Throwable exception) 067 { 068 } 069 070 public void sessionBegin() 071 { 072 } 073 074 }