T
- The type of object exposed through the MBeans.public class HostForwarding<T> extends Object
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
log
The log.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,Set<HostEntry>> |
getCurrentHostEntries()
Get current list of host-JMX port mappings.
|
static <T> HostForwarding |
getInstance(Class<T> asInterface,
MBeanServer mBeanServer,
String query)
Get a host forwarding instance.
|
MBeanServer |
getMBeanServer()
Get the mbean server that proxies to remote mbeans are registered in.
|
public static final org.slf4j.Logger log
public static <T> HostForwarding getInstance(Class<T> asInterface, MBeanServer mBeanServer, String query)
T
- The type of HostForwarding to return.asInterface
- The interface remote mbeans should implement.mBeanServer
- The MBean server to register proxy mbeans in.query
- The query for which we should proxy matching mbeans on remote servers.public static Map<String,Set<HostEntry>> getCurrentHostEntries()
public MBeanServer getMBeanServer()
Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.