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: * Produces a PrintingStatsRecorder, an implementation of IStatsRecorder
10: * @author Ken Weiner, kweiner@unicon.net
11: * @version $Revision: 36546 $
12: *
13: * @deprecated Use PrintingEventHandler.
14: * IStatsRecorder implementation is replaced with a much more flexible system based on the Spring ApplicationEventPublisher
15: * and Event Listeners. For more information see:
16: * http://www.ja-sig.org/wiki/display/UPC/Proposal+to+Deprecate+IStatsRecorder
17: */
18: public class PrintingStatsRecorderFactory implements
19: IStatsRecorderFactory {
20: /**
21: * Returns an new printing stats recorder
22: * @return printingStatsRecorder, an IStatsRecorder implementation that prints stats messages to std out
23: */
24: public IStatsRecorder getStatsRecorder() {
25: return new PrintingStatsRecorder();
26: }
27: }
|