1 16 package org.jmanage.core.management; 17 18 import java.util.Set ; 19 import java.util.List ; 20 import java.io.IOException ; 21 22 33 public interface ServerConnection { 34 35 42 public Set queryNames(ObjectName objectName); 43 44 54 public Object invoke(ObjectName objectName, 55 String operationName, 56 Object [] params, 57 String [] signature); 58 59 65 public ObjectInfo getObjectInfo(ObjectName objectName); 66 67 74 public Object getAttribute(ObjectName objectName, String attributeName); 75 76 84 public List getAttributes(ObjectName objectName, String [] attributeNames); 85 86 92 public List setAttributes(ObjectName objectName, List attributeList); 93 94 public void addNotificationListener(ObjectName objectName, 95 ObjectNotificationListener listener, 96 ObjectNotificationFilter filter, 97 Object handback); 98 99 public void removeNotificationListener(ObjectName objectName, 100 ObjectNotificationListener listener, 101 ObjectNotificationFilter filter, 102 Object handback); 103 104 public void createMBean(String className, 105 ObjectName name, 106 Object [] params, 107 String [] signature); 108 109 public void unregisterMBean(ObjectName objectName); 110 111 116 public Object buildObjectName(String objectName); 117 118 122 public boolean isOpen(); 123 124 127 public void close() throws IOException ; 128 } 129 | Popular Tags |