1
2
3
4
5
6
7
8
9
10
11 package org.astrogrid.datacenter.service.v06;
12
13 import org.astrogrid.component.descriptor.ComponentDescriptor;
14
15 import org.picocontainer.Startable;
16
17 import junit.framework.Test;
18
19 import EDU.oswego.cs.dl.util.concurrent.Channel;
20 import EDU.oswego.cs.dl.util.concurrent.QueuedExecutor;
21
22 /*** simple extension of hte standard queued executor - so it fits in with the cea component system.
23 * @author Noel Winstanley nw@jb.man.ac.uk 17-Sep-2004
24 *
25 */
26 public class CeaQueuedExecutor extends QueuedExecutor implements
27 ComponentDescriptor, Startable {
28
29 /*** Construct a new CeaQueuedExecutor
30 * @param arg0
31 */
32 public CeaQueuedExecutor(Channel arg0) {
33 super(arg0);
34 }
35
36 /*** Construct a new CeaQueuedExecutor
37 *
38 */
39 public CeaQueuedExecutor() {
40 super();
41 }
42
43 /***
44 * @see org.astrogrid.component.descriptor.ComponentDescriptor#getName()
45 */
46 public String getName() {
47 return "Queued Executor";
48 }
49
50 /***
51 * @see org.astrogrid.component.descriptor.ComponentDescriptor#getDescription()
52 */
53 public String getDescription() {
54 return "";
55 }
56
57 /***
58 * @see org.astrogrid.component.descriptor.ComponentDescriptor#getInstallationTest()
59 */
60 public Test getInstallationTest() {
61 return null;
62 }
63
64 /***
65 * @see org.picocontainer.Startable#start()
66 */
67 public void start() {
68 }
69
70 /***
71 * @see org.picocontainer.Startable#stop()
72 */
73 public void stop() {
74 super.shutdownNow();
75 }
76
77 }
78
79
80
81
82
83
84
85
86
87
88