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