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 a user logout 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 RecordLogoutWorkerTask extends StatsRecorderWorkerTask {
21:
22: IPerson person;
23:
24: public RecordLogoutWorkerTask(IPerson person) {
25: this .person = person;
26: }
27:
28: public void execute() throws Exception {
29: this.statsRecorder.recordLogout(this.person);
30: }
31: }
|