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

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

public class JMXRemoteClientFactory
extends java.lang.Object

Factory to create JMXRemoteClient object.


コンストラクタの概要
JMXRemoteClientFactory()
           
 
メソッドの概要
static javax.management.remote.JMXConnector connect(javax.management.remote.JMXServiceURL url, java.lang.String username, java.lang.String password)
          Creates a connection to the connector server at the given address.
static JMXRemoteClient getJMXRemoteClient()
          Creates a JXMRemoteClient.
static JMXUnsharedRemoteClient getJMXUnsharedRemoteClient()
          Creates a JMXUnsharedRemoteClient.
static JMXUnsharedRemoteClient getJMXUnsharedRemoteClient(java.util.Map<java.lang.String,java.lang.Object> env)
          Creates a JMXUnsharedRemoteClient.
static void releaseJMXRemoteClient()
          Release a (cached) JXMRemoteClient.
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JMXRemoteClientFactory

public JMXRemoteClientFactory()
メソッドの詳細

getJMXRemoteClient

public static JMXRemoteClient getJMXRemoteClient()
                                          throws java.lang.Exception
Creates a JXMRemoteClient.

戻り値:
a JMXRemoteClient representing the new connector client.
例外:
java.lang.Exception

releaseJMXRemoteClient

public static void releaseJMXRemoteClient()
                                   throws java.lang.Exception
Release a (cached) JXMRemoteClient.

例外:
java.lang.Exception

getJMXUnsharedRemoteClient

public static JMXUnsharedRemoteClient getJMXUnsharedRemoteClient()
                                                          throws java.lang.Exception
Creates a JMXUnsharedRemoteClient.

戻り値:
a JMXUnsharedRemoteClient representing the new connector client.
例外:
java.lang.Exception

getJMXUnsharedRemoteClient

public static JMXUnsharedRemoteClient getJMXUnsharedRemoteClient(java.util.Map<java.lang.String,java.lang.Object> env)
                                                          throws java.lang.Exception
Creates a JMXUnsharedRemoteClient.

パラメータ:
env - the environments for the new connector client.
戻り値:
a JMXUnsharedRemoteClient representing the new connector client.
例外:
java.lang.Exception

connect

public static javax.management.remote.JMXConnector connect(javax.management.remote.JMXServiceURL url,
                                                           java.lang.String username,
                                                           java.lang.String password)
                                                    throws java.lang.Exception
Creates a connection to the connector server at the given address.

パラメータ:
url - the address of the connector server to connect to.
username - username to connect server
password - passwotd to connect server
戻り値:
a JMXConnector representing the new connector client.
例外:
java.lang.Exception