1 23 24 package com.sun.enterprise.admin.comm; 25 26 import javax.management.ObjectName ; 27 import javax.management.Attribute ; 28 import javax.management.AttributeList ; 29 import javax.management.MBeanException ; 30 import javax.management.ReflectionException ; 31 import javax.management.InstanceNotFoundException ; 32 import javax.management.AttributeNotFoundException ; 33 import javax.management.InvalidAttributeValueException ; 34 35 37 public interface ProxyHandler 38 { 39 41 Object invoke(ObjectName mbeanName, 42 String operationName, 43 Object [] params, 44 String [] signature) 45 throws InstanceNotFoundException , MBeanException , ReflectionException ; 46 47 49 Object getAttribute(ObjectName mbeanName, String attributeName) 50 throws MBeanException , AttributeNotFoundException , 51 InstanceNotFoundException , ReflectionException ; 52 53 55 void setAttribute(ObjectName mbeanName, Attribute attribute) 56 throws InstanceNotFoundException , AttributeNotFoundException , 57 InvalidAttributeValueException , MBeanException , 58 ReflectionException ; 59 60 62 AttributeList getAttributes(ObjectName mbeanName, String [] attributes) 63 throws InstanceNotFoundException , ReflectionException ; 64 65 67 AttributeList setAttributes(ObjectName mbeanName, AttributeList attributes) 68 throws InstanceNotFoundException , ReflectionException ; 69 } | Popular Tags |