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 DoNothingStatsRecorder, 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 DoNothingStatsRecorderFactory implements
18: IStatsRecorderFactory {
19: /**
20: * Returns an new do-nothing stats recorder
21: * @return doNothingStatsRecorder, an IStatsRecorder implementation that does nothing
22: */
23: public IStatsRecorder getStatsRecorder() {
24: return new DoNothingStatsRecorder();
25: }
26: }
|