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 LoggingStatsRecorder, an implementation of IStatsRecorder
10: * @author Ken Weiner, kweiner@unicon.net
11: * @version $Revision: 36546 $
12: *
13: * @deprecated 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 LoggingStatsRecorderFactory implements
18: IStatsRecorderFactory {
19:
20: /**
21: * Returns an new logging stats recorder
22: * @return loggingStatsRecorder, an IStatsRecorder implementation that logs stats messages
23: */
24: public IStatsRecorder getStatsRecorder() {
25: return new LoggingStatsRecorder();
26: }
27: }
|