org.objectweb.fractal.jmx.agent
Interface AgentMonitorMBean

All Superinterfaces:
MonitorMBean

public interface AgentMonitorMBean
extends MonitorMBean

A customized MonitorMBean interface.

Version:
0.1

Method Summary
 Class getAttributeType()
          Returns the type of attribute which can be observed by this MonitorMBean.
 ObjectName getPattern()
          Returns an ObjectName pattern which can be used for filtering MBeans.
 
Methods inherited from interface javax.management.monitor.MonitorMBean
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop
 

Method Detail

getAttributeType

public Class getAttributeType()
Returns the type of attribute which can be observed by this MonitorMBean. This is usefull when this monitor can handle several attribute types (e.g. counter and gauge monitors handle several integer or floating-point attribute types)

Returns:
the type of attribute which can be observed by this MonitorMBean.

getPattern

public ObjectName getPattern()
Returns an ObjectName pattern which can be used for filtering MBeans. Typically, only MBeans, whose ObjectName matches this pattern, must be added in the set of observed MBeans.

Returns:
an ObjectName pattern.