public interface JMXProxyConnection
Modifier and Type | Method and Description |
---|---|
<T> T |
createProxy(ObjectName name,
Class<T> intf)
Method to create a proxy to a given MBean on some remote server.
|
boolean |
isLive()
Returns true if this object still can return usable proxies.
|
Set<ObjectName> |
query(String query)
Get the set of ObjectNames from the remote MBeanserver, that matches the given query.
|
<T> T createProxy(ObjectName name, Class<T> intf)
SingleLogRecord logMsg = (SingleLogRecord) myJMXProxyFactory.createProxy(myObjectName,SingleLogRecord.class);
T
- name
- The name of an MBean on some remote server.intf
- The interface that the returned proxy should implement.Set<ObjectName> query(String query)
query
- the given queryIOFailure
- on communication trouble.ArgumentNotValid
- on null or empty query.boolean isLive()
Copyright © 2005–2018 The Royal Danish Library, the National Library of France and the Austrian National Library.. All rights reserved.