1 22 package org.jboss.test.jbossmx.compliance.standard.support; 23 24 import javax.management.DynamicMBean ; 25 import javax.management.AttributeNotFoundException ; 26 import javax.management.MBeanException ; 27 import javax.management.ReflectionException ; 28 import javax.management.Attribute ; 29 import javax.management.InvalidAttributeValueException ; 30 import javax.management.AttributeList ; 31 import javax.management.MBeanInfo ; 32 import javax.management.MBeanAttributeInfo ; 33 import javax.management.MBeanConstructorInfo ; 34 import javax.management.MBeanOperationInfo ; 35 import javax.management.MBeanNotificationInfo ; 36 37 41 public class DynamicDerived1 extends StandardParent implements DynamicMBean 42 { 43 public Object getAttribute(String attribute) 44 throws AttributeNotFoundException , MBeanException , ReflectionException 45 { 46 return null; 47 } 48 49 public void setAttribute(Attribute attribute) 50 throws AttributeNotFoundException , InvalidAttributeValueException , 51 MBeanException , ReflectionException 52 { 53 } 54 55 public AttributeList getAttributes(String [] attributes) 56 { 57 return new AttributeList (); 58 } 59 60 public AttributeList setAttributes(AttributeList attributes) 61 { 62 return new AttributeList (); 63 } 64 65 public Object invoke(String actionName, 66 Object [] params, 67 String [] signature) 68 throws MBeanException , ReflectionException 69 { 70 return null; 71 } 72 73 public MBeanInfo getMBeanInfo() 74 { 75 return new MBeanInfo (this.getClass().getName(), "tester", new MBeanAttributeInfo [0], 76 new MBeanConstructorInfo [0], new MBeanOperationInfo [0], new MBeanNotificationInfo [0]); 77 } 78 } 79 | Popular Tags |