KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > tck > testmodels > mule > TestAgent


1 /*
2  * $Id: TestAgent.java 3798 2006-11-04 04:07:14Z aperepel $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.tck.testmodels.mule;
12
13 import org.mule.umo.UMOException;
14 import org.mule.umo.lifecycle.InitialisationException;
15 import org.mule.umo.manager.UMOAgent;
16
17 /**
18  * Mock agent
19  */

20 public class TestAgent implements UMOAgent
21 {
22     public String JavaDoc getName()
23     {
24         return "Test Agent";
25     }
26
27     public void setName(String JavaDoc name)
28     {
29         // nothing to do
30
}
31
32     public String JavaDoc getDescription()
33     {
34         return "Test JMX Agent";
35     }
36
37     public void initialise() throws InitialisationException
38     {
39         // nothing to do
40
}
41
42     public void start() throws UMOException
43     {
44         // nothing to do
45
}
46
47     public void stop() throws UMOException
48     {
49         // nothing to do
50
}
51
52     public void dispose()
53     {
54         // nothing to do
55
}
56
57     public void registered()
58     {
59         // nothing to do
60
}
61
62     public void unregistered()
63     {
64         // nothing to do
65
}
66 }
67
Popular Tags