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: import org.jasig.portal.security.IPerson;
09:
10: /**
11: * Records creation of a new session in a separate thread.
12: * @author Ken Weiner, kweiner@unicon.net
13: * @version $Revision: 36546 $
14: *
15: * @deprecated IStatsRecorder implementation is replaced with a much more flexible system
16: * based on the Spring ApplicationEventPublisher and Event Listeners.
17: * For more information see:
18: * http://www.ja-sig.org/wiki/display/UPC/Proposal+to+Deprecate+IStatsRecorder
19: */
20: public class RecordSessionCreatedWorkerTask extends
21: StatsRecorderWorkerTask {
22:
23: IPerson person;
24:
25: public RecordSessionCreatedWorkerTask(IPerson person) {
26: this .person = person;
27: }
28:
29: public void execute() throws Exception {
30: this.statsRecorder.recordSessionCreated(this.person);
31: }
32: }
|