1 25 package org.objectweb.jonas.jmx; 26 27 import java.rmi.Remote ; 28 import java.rmi.RemoteException ; 29 import javax.management.*; 30 31 37 public interface RMIConnector extends Remote { 38 39 46 public java.util.Set queryNames(ObjectName name, 47 QueryExp query) 48 throws RemoteException ; 49 50 55 public boolean isRegistered(ObjectName name) 56 throws RemoteException ; 57 58 64 public java.lang.Object getAttribute(ObjectName name, 65 String attribute) 66 throws MBeanException, 67 AttributeNotFoundException, 68 InstanceNotFoundException, 69 ReflectionException, 70 RemoteException ; 71 72 public AttributeList getAttributes(ObjectName name, 73 String [] attributes) 74 throws InstanceNotFoundException, 75 ReflectionException, 76 RemoteException ; 77 78 82 public void setAttribute(ObjectName name, 83 Attribute attribute) 84 throws InstanceNotFoundException, 85 AttributeNotFoundException, 86 InvalidAttributeValueException, 87 MBeanException, 88 ReflectionException, 89 RemoteException ; 90 91 public AttributeList setAttributes(ObjectName name, 92 AttributeList attributes) 93 throws InstanceNotFoundException, 94 ReflectionException, 95 RemoteException ; 96 97 107 public Object invoke(ObjectName name, 108 String operationName, 109 Object [] params, 110 String [] signature) 111 throws InstanceNotFoundException, 112 MBeanException, 113 ReflectionException, 114 RemoteException ; 115 116 123 public MBeanInfo getMBeanInfo(ObjectName name) 124 throws InstanceNotFoundException, 125 IntrospectionException, 126 ReflectionException, 127 RemoteException ; 128 129 137 public void addNotificationListener(ObjectName name, 138 NotificationListener listener, 139 NotificationFilter filter, 140 Object handback) 141 throws InstanceNotFoundException, 142 RemoteException ; 143 144 152 public void addNotificationListener(ObjectName name, 153 ObjectName listener, 154 NotificationFilter filter, 155 Object handback) 156 throws InstanceNotFoundException, 157 RemoteException ; 158 } 159 | Popular Tags |