KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > compliance > server > support > Dynamic


1 /*
2  * JBoss, the OpenSource J2EE webOS
3  *
4  * Distributable under LGPL license.
5  * See terms of license at gnu.org.
6  */

7
8 package test.compliance.server.support;
9
10 import javax.management.Attribute;
11 import javax.management.AttributeList;
12 import javax.management.DynamicMBean;
13 import javax.management.MBeanInfo;
14
15 /**
16  * @author <a HREF="mailto:Adrian.Brock@HappeningTimes.com">Adrian Brock</a>.
17  * @version $Revision: 1.3 $
18  */

19 public class Dynamic
20    implements DynamicMBean
21 {
22    public MBeanInfo getMBeanInfo()
23    {
24       return new MBeanInfo("does.not.exist", "description", null, null, null, null);
25    }
26
27    public Object invoke(String action, Object[] params, String[] signature)
28    {
29       return null;
30    }
31
32    public Object getAttribute(String attribute)
33    {
34       return null;
35    }
36
37    public AttributeList getAttributes(String[] attributes)
38    {
39       return null;
40    }
41
42    public void setAttribute(Attribute attribute)
43    {
44    }
45
46    public AttributeList setAttributes(AttributeList attributes)
47    {
48       return null;
49    }
50 }
51
Popular Tags