1
2
3
4
5
6
7
8
9
10
11 package org.mule.tck.testmodels.mule;
12
13 import org.mule.api.MuleException;
14 import org.mule.api.agent.Agent;
15 import org.mule.api.lifecycle.InitialisationException;
16
17 import java.util.Collections;
18 import java.util.List;
19
20
21
22
23 public class TestAgent implements Agent
24 {
25
26 private String frobbit;
27
28 public String getName()
29 {
30 return "Test Agent";
31 }
32
33 public void setName(String name)
34 {
35
36 }
37
38 public String getDescription()
39 {
40 return "Test JMX Agent";
41 }
42
43 public void initialise() throws InitialisationException
44 {
45
46 }
47
48 public void start() throws MuleException
49 {
50
51 }
52
53 public void stop() throws MuleException
54 {
55
56 }
57
58 public void dispose()
59 {
60
61 }
62
63 public void registered()
64 {
65
66 }
67
68 public void unregistered()
69 {
70
71 }
72
73 public List getDependentAgents()
74 {
75 return Collections.EMPTY_LIST;
76 }
77
78 public String getFrobbit()
79 {
80 return frobbit;
81 }
82
83 public void setFrobbit(String frobbit)
84 {
85 this.frobbit = frobbit;
86 }
87 }