org.ow2.jasmine.probe.collectors.jmx.internal
Class JmxProxy
java.lang.Object
org.ow2.jasmine.probe.collectors.jmx.internal.JmxProxy
public class JmxProxy
- extends Object
An instance is associated to a Test JmxCollector. Its to role is to
collect values from MBean attributes.
- Author:
- danesa
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmxProxy
public JmxProxy()
getJmxConnectionService
public JmxConnectionService getJmxConnectionService()
setJmxConnectionService
public void setJmxConnectionService(JmxConnectionService jmxConnectionService)
getTarget
public JasmineTarget getTarget()
setTarget
public void setTarget(JasmineTarget target)
collectMetrics
protected List<Metric> collectMetrics(ObjectName objname,
String indicatorName,
List<String> names)
throws JmxConnectionException
- Collect Metrics corresponding to the mbeans and a given names list to poll.
- Parameters:
objname - pattern for MBean ObjectNamesindicatorName - the corresponding indicator namenames - the list of names to poll
- Returns:
- a list of Metrics, one Metric per MBean
- Throws:
JmxConnectionException
resetMBeanServerConnection
protected void resetMBeanServerConnection()
Copyright © 2012 OW2 Consortium. All Rights Reserved.