com.nec.webotx.enterprise.admin.jmx.remote.client
クラス JmxConnectionManager

java.lang.Object
  上位を拡張 com.nec.webotx.enterprise.admin.jmx.remote.client.JmxConnectionManager

public class JmxConnectionManager
extends java.lang.Object

JMX リモート接続のためのコネクションを一括して管理するための クラスです。


メソッドの概要
 void closeAllJMXConnectors()
           
 void closeAllJMXConnectors(java.lang.String host)
           
 void closeJMXConnector(javax.management.remote.JMXServiceURL serviceURL)
           
 void closeJMXConnector(java.lang.String host, int port)
           
static JmxConnectionManager getInstance()
           
 javax.management.MBeanServerConnection getMBeanServerConnection(javax.management.remote.JMXServiceURL serviceURL)
           
 javax.management.MBeanServerConnection getMBeanServerConnection(javax.management.remote.JMXServiceURL serviceURL, boolean secure, java.lang.String user, java.lang.String password)
           
 javax.management.MBeanServerConnection getMBeanServerConnection(java.lang.String host, int port)
           
 javax.management.MBeanServerConnection getMBeanServerConnection(java.lang.String protocol, java.lang.String host, int port, boolean secure, java.lang.String user, java.lang.String password)
           
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

メソッドの詳細

getInstance

public static JmxConnectionManager getInstance()
戻り値:

getMBeanServerConnection

public javax.management.MBeanServerConnection getMBeanServerConnection(java.lang.String protocol,
                                                                       java.lang.String host,
                                                                       int port,
                                                                       boolean secure,
                                                                       java.lang.String user,
                                                                       java.lang.String password)
                                                                throws java.io.IOException
パラメータ:
protocol -
host -
port -
secure -
user -
password -
戻り値:
例外:
java.io.IOException

getMBeanServerConnection

public javax.management.MBeanServerConnection getMBeanServerConnection(javax.management.remote.JMXServiceURL serviceURL,
                                                                       boolean secure,
                                                                       java.lang.String user,
                                                                       java.lang.String password)
                                                                throws java.io.IOException
パラメータ:
serviceURL -
secure -
user -
password -
戻り値:
例外:
java.io.IOException

getMBeanServerConnection

public javax.management.MBeanServerConnection getMBeanServerConnection(java.lang.String host,
                                                                       int port)
                                                                throws java.io.IOException
パラメータ:
host -
port -
戻り値:
例外:
java.io.IOException

getMBeanServerConnection

public javax.management.MBeanServerConnection getMBeanServerConnection(javax.management.remote.JMXServiceURL serviceURL)
                                                                throws java.io.IOException
パラメータ:
host -
port -
戻り値:
例外:
java.io.IOException

closeJMXConnector

public void closeJMXConnector(java.lang.String host,
                              int port)
パラメータ:
host -
port -

closeJMXConnector

public void closeJMXConnector(javax.management.remote.JMXServiceURL serviceURL)
パラメータ:
serviceURL -

closeAllJMXConnectors

public void closeAllJMXConnectors(java.lang.String host)
パラメータ:
host -

closeAllJMXConnectors

public void closeAllJMXConnectors()