public class MonitoringHelper extends Object
Constructor and Description |
---|
MonitoringHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addMonitoredAttributes(Vector elements,
String MBeanName,
String attributes)
Add the specified attributes to the list of monitored attributes.
|
static void |
delMonitoredAttributes(Vector elements,
String mbean)
Removes all the attributes of the specified MBean in the list of
monitored attributes.
|
static void |
getJMXValues(Message message,
Vector elements) |
static String[] |
getMonitoredAttributes(Vector elements)
Returns the comma separated list of all monitored attributes.
|
private static void |
setMessageProperty(Message message,
String mbeanName,
String attrName) |
static Logger logger
private static void setMessageProperty(Message message, String mbeanName, String attrName) throws Exception
Exception
public static String[] getMonitoredAttributes(Vector elements)
elements
- the various elements to monitor.public static void addMonitoredAttributes(Vector elements, String MBeanName, String attributes)
elements
- the various elements to monitor.MBeanName
- the name of the MBean.attributes
- the comma separated list of attributes to monitor.Copyright © 2023 ScalAgent D.T.. All rights reserved.