org.objectweb.joram.mom.dest
Class MonitoringHelper
java.lang.Object
org.objectweb.joram.mom.dest.MonitoringHelper
public class MonitoringHelper
- extends java.lang.Object
Method Summary |
static void |
addMonitoredAttributes(java.util.Vector elements,
java.lang.String MBeanName,
java.lang.String attributes)
Add the specified attributes to the list of monitored attributes. |
static void |
delMonitoredAttributes(java.util.Vector elements,
java.lang.String mbean)
Removes all the attributes of the specified MBean in the list of
monitored attributes. |
static void |
getJMXValues(Message message,
java.util.Vector elements)
|
static java.lang.String[] |
getMonitoredAttributes(java.util.Vector elements)
Returns the comma separated list of all monitored attributes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MonitoringHelper
public MonitoringHelper()
getJMXValues
public static void getJMXValues(Message message,
java.util.Vector elements)
getMonitoredAttributes
public static java.lang.String[] getMonitoredAttributes(java.util.Vector elements)
- Returns the comma separated list of all monitored attributes.
- Parameters:
elements
- the various elements to monitor.
- Returns:
- the comma separated list of all monitored attributes.
addMonitoredAttributes
public static void addMonitoredAttributes(java.util.Vector elements,
java.lang.String MBeanName,
java.lang.String attributes)
- Add the specified attributes to the list of monitored attributes.
If the Mbean is already monitored, the specified list of attributes
overrides the existing one.
- Parameters:
elements
- the various elements to monitor.MBeanName
- the name of the MBean.attributes
- the comma separated list of attributes to monitor.
delMonitoredAttributes
public static void delMonitoredAttributes(java.util.Vector elements,
java.lang.String mbean)
- Removes all the attributes of the specified MBean in the list of
monitored attributes.
- Parameters:
elements
- the various elements to monitor.mbean
- the name of the MBean.
Copyright © 2000 - 2009 Scalagent D.T. - All rights reserved