1 23 24 package javax.management.j2ee; 25 26 import java.util.Set ; 27 28 import javax.management.ObjectName ; 29 import javax.management.QueryExp ; 30 import javax.management.AttributeList ; 31 import javax.management.Attribute ; 32 import javax.management.MBeanInfo ; 33 import javax.management.InstanceNotFoundException ; 34 import javax.management.MBeanException ; 35 import javax.management.AttributeNotFoundException ; 36 import javax.management.ReflectionException ; 37 import javax.management.InvalidAttributeValueException ; 38 import javax.management.IntrospectionException ; 39 40 import java.rmi.RemoteException ; 41 42 49 public interface Management extends javax.ejb.EJBObject { 50 51 68 Set queryNames(ObjectName name, QueryExp query) throws RemoteException ; 69 70 80 boolean isRegistered(ObjectName name) throws RemoteException ; 81 82 87 Integer getMBeanCount() throws RemoteException ; 88 89 103 MBeanInfo getMBeanInfo(ObjectName name) throws IntrospectionException , InstanceNotFoundException , ReflectionException , RemoteException ; 104 105 121 Object getAttribute(ObjectName name, String attribute) throws MBeanException , AttributeNotFoundException , InstanceNotFoundException , ReflectionException , RemoteException ; 122 123 137 AttributeList getAttributes(ObjectName name, String [] attributes) throws InstanceNotFoundException , ReflectionException , RemoteException ; 138 139 153 void setAttribute(ObjectName name, Attribute attribute) throws InstanceNotFoundException , AttributeNotFoundException , InvalidAttributeValueException , MBeanException , ReflectionException , RemoteException ; 154 155 171 AttributeList setAttributes(ObjectName name, AttributeList attributes) throws InstanceNotFoundException , ReflectionException , RemoteException ; 172 173 191 Object invoke(ObjectName name, String operationName, Object [] params, String [] signature) throws InstanceNotFoundException , MBeanException , ReflectionException , RemoteException ; 192 193 197 String getDefaultDomain() throws RemoteException ; 198 199 206 ListenerRegistration getListenerRegistry() throws RemoteException ; 207 208 } 209 | Popular Tags |