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