org.archive.hcc.util.jmx
Class MBeanServerConnectionFactory
java.lang.Object
org.archive.hcc.util.jmx.MBeanServerConnectionFactory
public class MBeanServerConnectionFactory
- extends java.lang.Object
Method Summary |
static javax.management.MBeanServerConnection |
createConnection(java.net.InetSocketAddress address)
Creates a new MBeanServerConnection on the specified port. |
protected static javax.management.remote.JMXServiceURL |
createJMXServiceUrl(java.net.InetSocketAddress address)
|
protected static java.util.Map<java.lang.String,java.lang.Object> |
formatCredentials(java.lang.String username,
java.lang.String password)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanServerConnectionFactory
public MBeanServerConnectionFactory()
createConnection
public static javax.management.MBeanServerConnection createConnection(java.net.InetSocketAddress address)
throws java.io.IOException
- Creates a new MBeanServerConnection on the specified port.
- Parameters:
address
-
- Returns:
-
- Throws:
java.io.IOException
createJMXServiceUrl
protected static javax.management.remote.JMXServiceURL createJMXServiceUrl(java.net.InetSocketAddress address)
formatCredentials
protected static java.util.Map<java.lang.String,java.lang.Object> formatCredentials(java.lang.String username,
java.lang.String password)
Copyright © 2005-2008 The Internet Archive. All Rights Reserved.