1 7 8 package javax.management; 9 10 11 import java.io.IOException ; 13 import java.util.Set ; 14 15 16 25 public interface MBeanServerConnection { 26 74 public ObjectInstance createMBean(String className, ObjectName name) 75 throws ReflectionException , InstanceAlreadyExistsException , 76 MBeanRegistrationException , MBeanException , 77 NotCompliantMBeanException , IOException ; 78 79 129 public ObjectInstance createMBean(String className, ObjectName name, 130 ObjectName loaderName) 131 throws ReflectionException , InstanceAlreadyExistsException , 132 MBeanRegistrationException , MBeanException , 133 NotCompliantMBeanException , InstanceNotFoundException , 134 IOException ; 135 136 137 184 public ObjectInstance createMBean(String className, ObjectName name, 185 Object params[], String signature[]) 186 throws ReflectionException , InstanceAlreadyExistsException , 187 MBeanRegistrationException , MBeanException , 188 NotCompliantMBeanException , IOException ; 189 190 240 public ObjectInstance createMBean(String className, ObjectName name, 241 ObjectName loaderName, Object params[], 242 String signature[]) 243 throws ReflectionException , InstanceAlreadyExistsException , 244 MBeanRegistrationException , MBeanException , 245 NotCompliantMBeanException , InstanceNotFoundException , 246 IOException ; 247 248 270 public void unregisterMBean(ObjectName name) 271 throws InstanceNotFoundException , MBeanRegistrationException , 272 IOException ; 273 274 290 public ObjectInstance getObjectInstance(ObjectName name) 291 throws InstanceNotFoundException , IOException ; 292 293 319 public Set queryMBeans(ObjectName name, QueryExp query) 320 throws IOException ; 321 322 347 public Set queryNames(ObjectName name, QueryExp query) 348 throws IOException ; 349 350 351 352 367 public boolean isRegistered(ObjectName name) 368 throws IOException ; 369 370 371 379 public Integer getMBeanCount() 380 throws IOException ; 381 382 411 public Object getAttribute(ObjectName name, String attribute) 412 throws MBeanException , AttributeNotFoundException , 413 InstanceNotFoundException , ReflectionException , 414 IOException ; 415 416 417 439 public AttributeList getAttributes(ObjectName name, String [] attributes) 440 throws InstanceNotFoundException , ReflectionException , 441 IOException ; 442 443 472 public void setAttribute(ObjectName name, Attribute attribute) 473 throws InstanceNotFoundException , AttributeNotFoundException , 474 InvalidAttributeValueException , MBeanException , 475 ReflectionException , IOException ; 476 477 478 479 503 public AttributeList setAttributes(ObjectName name, 504 AttributeList attributes) 505 throws InstanceNotFoundException , ReflectionException , IOException ; 506 507 534 public Object invoke(ObjectName name, String operationName, 535 Object params[], String signature[]) 536 throws InstanceNotFoundException , MBeanException , 537 ReflectionException , IOException ; 538 539 540 541 551 public String getDefaultDomain() 552 throws IOException ; 553 554 569 public String [] getDomains() 570 throws IOException ; 571 572 598 public void addNotificationListener(ObjectName name, 599 NotificationListener listener, 600 NotificationFilter filter, 601 Object handback) 602 throws InstanceNotFoundException , IOException ; 603 604 605 642 public void addNotificationListener(ObjectName name, 643 ObjectName listener, 644 NotificationFilter filter, 645 Object handback) 646 throws InstanceNotFoundException , IOException ; 647 648 649 670 public void removeNotificationListener(ObjectName name, 671 ObjectName listener) 672 throws InstanceNotFoundException , ListenerNotFoundException , 673 IOException ; 674 675 709 public void removeNotificationListener(ObjectName name, 710 ObjectName listener, 711 NotificationFilter filter, 712 Object handback) 713 throws InstanceNotFoundException , ListenerNotFoundException , 714 IOException ; 715 716 717 738 public void removeNotificationListener(ObjectName name, 739 NotificationListener listener) 740 throws InstanceNotFoundException , ListenerNotFoundException , 741 IOException ; 742 743 777 public void removeNotificationListener(ObjectName name, 778 NotificationListener listener, 779 NotificationFilter filter, 780 Object handback) 781 throws InstanceNotFoundException , ListenerNotFoundException , 782 IOException ; 783 784 802 public MBeanInfo getMBeanInfo(ObjectName name) 803 throws InstanceNotFoundException , IntrospectionException , 804 ReflectionException , IOException ; 805 806 807 838 public boolean isInstanceOf(ObjectName name, String className) 839 throws InstanceNotFoundException , IOException ; 840 } 841
| Popular Tags
|