1 7 8 package org.jboss.net.jmx.adaptor.server; 9 10 import org.jboss.system.ServiceMBeanSupport; 11 12 22 23 public class Adaptor extends ServiceMBeanSupport implements AdaptorMBean, Constants 24 { 25 26 public void startService() throws Exception 27 { 28 } 29 30 public void stopService() 31 { 32 } 33 34 public java.lang.Object instantiate(java.lang.String str, javax.management.ObjectName objectName) throws javax.management.ReflectionException , javax.management.MBeanException , javax.management.InstanceNotFoundException 35 { 36 return getServer().instantiate(str, objectName); 37 } 38 39 public boolean isInstanceOf(javax.management.ObjectName objectName, java.lang.String str) throws javax.management.InstanceNotFoundException 40 { 41 return getServer().isInstanceOf(objectName, str); 42 } 43 44 public javax.management.ObjectInstance registerMBean(java.lang.Object obj, javax.management.ObjectName objectName) throws javax.management.InstanceAlreadyExistsException , javax.management.MBeanRegistrationException , javax.management.NotCompliantMBeanException 45 { 46 return getServer().registerMBean(obj, objectName); 47 } 48 49 public java.lang.String getDefaultDomain() 50 { 51 return getServer().getDefaultDomain(); 52 } 53 54 public javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName objectName) throws javax.management.InstanceNotFoundException , javax.management.IntrospectionException , javax.management.ReflectionException 55 { 56 return getServer().getMBeanInfo(objectName); 57 } 58 59 public javax.management.ObjectInstance getObjectInstance(javax.management.ObjectName objectName) throws javax.management.InstanceNotFoundException 60 { 61 return getServer().getObjectInstance(objectName); 62 } 63 64 public java.lang.Object instantiate(java.lang.String str) throws javax.management.ReflectionException , javax.management.MBeanException 65 { 66 return getServer().instantiate(str); 67 } 68 69 public boolean isRegistered(javax.management.ObjectName objectName) 70 { 71 return getServer().isRegistered(objectName); 72 } 73 74 public void addNotificationListener(javax.management.ObjectName objectName, javax.management.NotificationListener notificationListener, javax.management.NotificationFilter notificationFilter, java.lang.Object obj) throws javax.management.InstanceNotFoundException 75 { 76 getServer().addNotificationListener(objectName, notificationListener, notificationFilter, obj); 77 } 78 79 public void addNotificationListener(javax.management.ObjectName objectName, javax.management.ObjectName objectName1, javax.management.NotificationFilter notificationFilter, java.lang.Object obj) throws javax.management.InstanceNotFoundException 80 { 81 getServer().addNotificationListener(objectName, objectName1, notificationFilter, obj); 82 } 83 84 public javax.management.ObjectInstance createMBean(java.lang.String str, javax.management.ObjectName objectName) throws javax.management.ReflectionException , javax.management.InstanceAlreadyExistsException , javax.management.MBeanRegistrationException , javax.management.MBeanException , javax.management.NotCompliantMBeanException 85 { 86 return getServer().createMBean(str, objectName); 87 } 88 89 public javax.management.ObjectInstance createMBean(java.lang.String str, javax.management.ObjectName objectName, javax.management.ObjectName objectName2) throws javax.management.ReflectionException , javax.management.InstanceAlreadyExistsException , javax.management.MBeanRegistrationException , javax.management.MBeanException , javax.management.NotCompliantMBeanException , javax.management.InstanceNotFoundException 90 { 91 return getServer().createMBean(str, objectName, objectName2); 92 } 93 94 public java.lang.Object getAttribute(javax.management.ObjectName objectName, java.lang.String str) throws javax.management.MBeanException , javax.management.AttributeNotFoundException , javax.management.InstanceNotFoundException , javax.management.ReflectionException 95 { 96 return getServer().getAttribute(objectName, str); 97 } 98 99 public javax.management.ObjectInstance createMBean(java.lang.String str, javax.management.ObjectName objectName, javax.management.ObjectName objectName2, java.lang.Object [] obj, java.lang.String [] str4) throws javax.management.ReflectionException , javax.management.InstanceAlreadyExistsException , javax.management.MBeanRegistrationException , javax.management.MBeanException , javax.management.NotCompliantMBeanException , javax.management.InstanceNotFoundException 100 { 101 return getServer().createMBean(str, objectName, objectName2, obj, str4); 102 } 103 104 public javax.management.ObjectInstance createMBean(java.lang.String str, javax.management.ObjectName objectName, java.lang.Object [] obj, java.lang.String [] str3) throws javax.management.ReflectionException , javax.management.InstanceAlreadyExistsException , javax.management.MBeanRegistrationException , javax.management.MBeanException , javax.management.NotCompliantMBeanException 105 { 106 return getServer().createMBean(str, objectName, obj, str3); 107 } 108 109 public void setAttribute(javax.management.ObjectName objectName, javax.management.Attribute attribute) throws javax.management.InstanceNotFoundException , javax.management.AttributeNotFoundException , javax.management.InvalidAttributeValueException , javax.management.MBeanException , javax.management.ReflectionException 110 { 111 getServer().setAttribute(objectName, attribute); 112 } 113 114 public java.lang.Object instantiate(java.lang.String str, java.lang.Object [] obj, java.lang.String [] str2) throws javax.management.ReflectionException , javax.management.MBeanException 115 { 116 return getServer().instantiate(str, obj, str2); 117 } 118 119 public java.lang.Object instantiate(java.lang.String str, javax.management.ObjectName objectName, java.lang.Object [] obj, java.lang.String [] str3) throws javax.management.ReflectionException , javax.management.MBeanException , javax.management.InstanceNotFoundException 120 { 121 return getServer().instantiate(str, objectName, obj, str3); 122 } 123 124 public java.io.ObjectInputStream deserialize(java.lang.String str, javax.management.ObjectName objectName, byte[] values) throws javax.management.InstanceNotFoundException , javax.management.OperationsException , javax.management.ReflectionException 125 { 126 return getServer().deserialize(str, objectName, values); 127 } 128 129 public java.io.ObjectInputStream deserialize(java.lang.String str, byte[] values) throws javax.management.OperationsException , javax.management.ReflectionException 130 { 131 return getServer().deserialize(str, values); 132 } 133 134 public java.util.Set queryMBeans(javax.management.ObjectName objectName, javax.management.QueryExp queryExp) 135 { 136 return getServer().queryMBeans(objectName, queryExp); 137 } 138 139 public javax.management.AttributeList setAttributes(javax.management.ObjectName objectName, javax.management.AttributeList attributeList) throws javax.management.InstanceNotFoundException , javax.management.ReflectionException 140 { 141 return getServer().setAttributes(objectName, attributeList); 142 } 143 144 public java.lang.Integer getMBeanCount() 145 { 146 return getServer().getMBeanCount(); 147 } 148 149 public java.lang.Object invoke(javax.management.ObjectName objectName, java.lang.String str, java.lang.Object [] obj, java.lang.String [] str3) throws javax.management.InstanceNotFoundException , javax.management.MBeanException , javax.management.ReflectionException 150 { 151 return getServer().invoke(objectName, str, obj, str3); 152 } 153 154 public java.io.ObjectInputStream deserialize(javax.management.ObjectName objectName, byte[] values) throws javax.management.InstanceNotFoundException , javax.management.OperationsException 155 { 156 return getServer().deserialize(objectName, values); 157 } 158 159 public javax.management.AttributeList getAttributes(javax.management.ObjectName objectName, java.lang.String [] str) throws javax.management.InstanceNotFoundException , javax.management.ReflectionException 160 { 161 return getServer().getAttributes(objectName, str); 162 } 163 164 public java.util.Set queryNames(javax.management.ObjectName objectName, javax.management.QueryExp queryExp) 165 { 166 return getServer().queryNames(objectName, queryExp); 167 } 168 169 public void unregisterMBean(javax.management.ObjectName objectName) throws javax.management.InstanceNotFoundException , javax.management.MBeanRegistrationException 170 { 171 getServer().unregisterMBean(objectName); 172 } 173 174 public void removeNotificationListener(javax.management.ObjectName objectName, javax.management.ObjectName objectName1) throws javax.management.InstanceNotFoundException , javax.management.ListenerNotFoundException 175 { 176 getServer().removeNotificationListener(objectName, objectName1); 177 } 178 179 public void removeNotificationListener(javax.management.ObjectName objectName, javax.management.NotificationListener notificationListener) throws javax.management.InstanceNotFoundException , javax.management.ListenerNotFoundException 180 { 181 getServer().removeNotificationListener(objectName, notificationListener); 182 } 183 184 public javax.management.loading.ClassLoaderRepository getClassLoaderRepository() 185 { 186 return getServer().getClassLoaderRepository(); 187 } 188 189 public java.lang.ClassLoader getClassLoader(javax.management.ObjectName objectName) 190 throws javax.management.InstanceNotFoundException 191 { 192 return getServer().getClassLoader(objectName); 193 } 194 195 public java.lang.ClassLoader getClassLoaderFor(javax.management.ObjectName objectName) 196 throws javax.management.InstanceNotFoundException 197 { 198 return getServer().getClassLoaderFor(objectName); 199 } 200 201 public void removeNotificationListener(javax.management.ObjectName objectName, 202 javax.management.ObjectName notificationListener, 203 javax.management.NotificationFilter filter, 204 java.lang.Object handback) 205 throws javax.management.InstanceNotFoundException , javax.management.ListenerNotFoundException 206 { 207 getServer().removeNotificationListener(objectName, notificationListener, filter, handback); 208 } 209 210 public void removeNotificationListener(javax.management.ObjectName objectName, 211 javax.management.NotificationListener notificationListener, 212 javax.management.NotificationFilter filter, 213 java.lang.Object handback) 214 throws javax.management.InstanceNotFoundException , javax.management.ListenerNotFoundException 215 { 216 getServer().removeNotificationListener(objectName, notificationListener, filter, handback); 217 } 218 219 public java.lang.String [] getDomains() 220 { 221 return getServer().getDomains(); 222 } 223 224 } 225 | Popular Tags |