01: /* Copyright 2002 The JA-SIG Collaborative. All rights reserved.
02: * See license distributed with this file and
03: * available online at http://www.uportal.org/license.html
04: */
05:
06: package org.jasig.portal.services.stats;
07:
08: /**
09: * Prints portal statistics to std out.
10: * @author Ken Weiner, kweiner@unicon.net
11: * @version $Revision: 36546 $
12: *
13: * @deprecated use PrintingEventHandler. IStatsRecorder implementation is replaced with a much more flexible system based on the Spring ApplicationEventPublisher
14: * and Event Listeners. For more information see:
15: * http://www.ja-sig.org/wiki/display/UPC/Proposal+to+Deprecate+IStatsRecorder
16: */
17: public class PrintingStatsRecorder extends MessageStatsRecorder {
18:
19: /**
20: * Prints portal statistics messages to std out.
21: * @param message, the message to print
22: */
23: protected void outputMessage(String message) {
24: System.out.println(message);
25: }
26:
27: }
|