1 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 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 |