1 25 26 package org.objectweb.jonas.mejb; 27 28 import java.rmi.RemoteException ; 29 import java.util.Set ; 30 31 import javax.management.Attribute ; 32 import javax.management.AttributeList ; 33 import javax.management.AttributeNotFoundException ; 34 import javax.management.InstanceNotFoundException ; 35 import javax.management.IntrospectionException ; 36 import javax.management.InvalidAttributeValueException ; 37 import javax.management.MBeanException ; 38 import javax.management.MBeanInfo ; 39 import javax.management.ObjectName ; 40 import javax.management.QueryExp ; 41 import javax.management.ReflectionException ; 42 import javax.management.j2ee.Management ; 43 44 59 public interface DomainManagement extends Management { 60 61 80 Object getAttribute(String domainServerName, ObjectName name, 81 String attribute) throws MBeanException , 82 AttributeNotFoundException , InstanceNotFoundException , 83 ReflectionException , RemoteException ; 84 85 102 AttributeList getAttributes(String domainServerName, ObjectName name, 103 String [] attributes) throws InstanceNotFoundException , 104 ReflectionException , RemoteException ; 105 106 120 Integer getMBeanCount(String domainServerName) throws MBeanException , 121 AttributeNotFoundException , InstanceNotFoundException , 122 ReflectionException , RemoteException ; 123 124 139 MBeanInfo getMBeanInfo(String domainServerName, ObjectName name) 140 throws IntrospectionException , InstanceNotFoundException , 141 ReflectionException , RemoteException ; 142 143 163 Object invoke(String domainServerName, ObjectName name, 164 String operationName, Object [] params, String [] signature) 165 throws MBeanException , InstanceNotFoundException , 166 ReflectionException , RemoteException ; 167 168 180 boolean isRegistered(String domainServerName, ObjectName name) 181 throws RemoteException ; 182 183 197 Set queryNames(String domainServerName, ObjectName name, QueryExp query) 198 throws RemoteException ; 199 200 219 void setAttribute(String domainServerName, ObjectName name, 220 Attribute attribute) throws MBeanException , 221 AttributeNotFoundException , InstanceNotFoundException , 222 InvalidAttributeValueException , ReflectionException , 223 RemoteException ; 224 225 242 AttributeList setAttributes(String domainServerName, ObjectName name, 243 AttributeList attributes) throws InstanceNotFoundException , 244 ReflectionException , RemoteException ; 245 246 } 247 | Popular Tags |