00001 00025 package org.objectweb.jonas.jmx; 00026 00027 import java.rmi.Remote; 00028 import java.rmi.RemoteException; 00029 import javax.management.*; 00030 00037 public interface RMIConnector extends Remote { 00038 00046 public java.util.Set queryNames(ObjectName name, 00047 QueryExp query) 00048 throws RemoteException; 00049 00055 public boolean isRegistered(ObjectName name) 00056 throws RemoteException; 00057 00064 public java.lang.Object getAttribute(ObjectName name, 00065 String attribute) 00066 throws MBeanException, 00067 AttributeNotFoundException, 00068 InstanceNotFoundException, 00069 ReflectionException, 00070 RemoteException; 00071 00072 public AttributeList getAttributes(ObjectName name, 00073 String[] attributes) 00074 throws InstanceNotFoundException, 00075 ReflectionException, 00076 RemoteException; 00077 00082 public void setAttribute(ObjectName name, 00083 Attribute attribute) 00084 throws InstanceNotFoundException, 00085 AttributeNotFoundException, 00086 InvalidAttributeValueException, 00087 MBeanException, 00088 ReflectionException, 00089 RemoteException; 00090 00091 public AttributeList setAttributes(ObjectName name, 00092 AttributeList attributes) 00093 throws InstanceNotFoundException, 00094 ReflectionException, 00095 RemoteException; 00096 00107 public Object invoke(ObjectName name, 00108 String operationName, 00109 Object[] params, 00110 String[] signature) 00111 throws InstanceNotFoundException, 00112 MBeanException, 00113 ReflectionException, 00114 RemoteException; 00115 00123 public MBeanInfo getMBeanInfo(ObjectName name) 00124 throws InstanceNotFoundException, 00125 IntrospectionException, 00126 ReflectionException, 00127 RemoteException; 00128 00137 public void addNotificationListener(ObjectName name, 00138 NotificationListener listener, 00139 NotificationFilter filter, 00140 Object handback) 00141 throws InstanceNotFoundException, 00142 RemoteException; 00143 00152 public void addNotificationListener(ObjectName name, 00153 ObjectName listener, 00154 NotificationFilter filter, 00155 Object handback) 00156 throws InstanceNotFoundException, 00157 RemoteException; 00158 }