1 7 8 package com.sun.jmx.mbeanserver; 9 10 import javax.management.* ; 11 12 13 20 public interface MetaData { 21 22 25 public void testCompliance(Class c) throws NotCompliantMBeanException; 26 27 31 public ObjectName preRegisterInvoker(Object moi, ObjectName name, 32 MBeanServer mbs) 33 throws InstanceAlreadyExistsException, MBeanRegistrationException; 34 35 39 public void postRegisterInvoker(Object moi, boolean registrationDone); 40 41 42 46 public void preDeregisterInvoker(Object moi) 47 throws MBeanRegistrationException; 48 49 53 public void postDeregisterInvoker(Object moi); 54 55 56 69 public MBeanInfo getMBeanInfo(Object instance) 70 throws IntrospectionException ; 71 72 73 84 public String getMBeanClassName(Object instance) 85 throws IntrospectionException, NotCompliantMBeanException ; 86 87 88 104 public Object getAttribute(Object instance, String attribute) 105 throws MBeanException, AttributeNotFoundException, ReflectionException; 106 107 108 119 public AttributeList getAttributes(Object instance, String [] attributes) 120 throws ReflectionException ; 121 122 123 141 public Object setAttribute(Object instance, Attribute attribute) 142 throws AttributeNotFoundException, InvalidAttributeValueException, 143 MBeanException, ReflectionException; 144 145 146 159 public AttributeList setAttributes(Object instance, 160 AttributeList attributes) 161 throws ReflectionException; 162 163 164 181 public Object invoke(Object instance, String operationName, 182 Object params[],String signature[]) 183 throws MBeanException, ReflectionException; 184 185 195 public boolean isInstanceOf(Object instance, String className) 196 throws ReflectionException; 197 198 } 199 | Popular Tags |