1 package org.apache.tools.ant.taskdefs.optional.jmx.connector; 2 3 52 53 import java.util.Hashtable ; 54 import javax.management.MBeanServer ; 55 import javax.management.ObjectName ; 56 57 83 public interface JMXConnector { 84 85 118 public Hashtable getInitialContextProperties(Hashtable contextProps); 119 120 132 public Hashtable getInitialContextProperties(String providerUrl, String user, String password); 133 134 148 public MBeanServer getMBeanServer(Hashtable contextProps, String jndiLookupName) throws org.apache.tools.ant.BuildException; 149 150 151 166 public ObjectName createMBean(String type, ObjectName objectName, MBeanServer mbserver) throws javax.management.MBeanRegistrationException ; 167 168 169 172 public String getActiveDomain(MBeanServer mbserver); 173 174 } 175 176 192 | Popular Tags |