1 23 24 package com.sun.enterprise.management.agent; 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 import javax.management.MBeanRegistrationException ; 40 41 import java.rmi.RemoteException ; 42 import javax.ejb.EJBObject ; 43 import javax.management.j2ee.ListenerRegistration ; 44 45 public interface IIOPMBeanServer extends java.rmi.Remote { 46 47 63 Set queryNames(ObjectName name, QueryExp query) throws RemoteException ; 64 65 78 boolean isRegistered(ObjectName name) throws RemoteException ; 79 80 85 Integer getMBeanCount() throws RemoteException ; 86 87 99 MBeanInfo getMBeanInfo(ObjectName name) throws InstanceNotFoundException , IntrospectionException , ReflectionException , RemoteException ; 100 101 120 Object getAttribute(ObjectName name, String attribute) throws 121 AttributeNotFoundException , MBeanException , InstanceNotFoundException , ReflectionException , RemoteException ; 122 123 141 AttributeList getAttributes(ObjectName name, String [] attributes) 142 throws InstanceNotFoundException , ReflectionException , RemoteException ; 143 144 163 void setAttribute(ObjectName name, Attribute attribute) throws 164 InstanceNotFoundException , AttributeNotFoundException , InvalidAttributeValueException , 165 MBeanException , ReflectionException , RemoteException ; 166 167 186 AttributeList setAttributes(ObjectName name, AttributeList attributes) 187 throws InstanceNotFoundException , ReflectionException , RemoteException ; 188 189 209 Object invoke(ObjectName name, String operationName, Object [] params, 210 String [] signature) throws InstanceNotFoundException , MBeanException , ReflectionException , RemoteException ; 211 212 215 String getDefaultDomain() throws RemoteException ; 216 217 228 public void unregisterMBean(ObjectName name) throws InstanceNotFoundException , 229 MBeanRegistrationException , RemoteException ; 230 231 } 232 | Popular Tags |