|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.objectweb.fractal.jmx.agent.AgentContext
The context of the agent component (handles patterns and monitors).
| Constructor Summary | |
|---|---|
AgentContext()
|
|
| Method Summary | |
|---|---|
AgentMonitorMBean[] |
getMonitors()
returns the current monitors. |
boolean |
matchItfPatterns(ObjectName oName)
Checks if an ObjectName matches the current patterns for filtering component interface MBeans. |
boolean |
matchMonitorPatterns(ObjectName oName)
Checks if an ObjectName matches the current patterns for filtering monitor MBeans. |
void |
reset(String fc,
String str,
String counter,
String gauge,
String periodic)
Resets this agent context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AgentContext()
| Method Detail |
public AgentMonitorMBean[] getMonitors()
monitors.
monitors.public boolean matchItfPatterns(ObjectName oName)
ObjectName matches the current patterns for filtering component interface MBeans.
oName - the ObjectName to check.
public boolean matchMonitorPatterns(ObjectName oName)
ObjectName matches the current patterns for filtering monitor MBeans.
oName - the ObjectName to check.
public void reset(String fc,
String str,
String counter,
String gauge,
String periodic)
throws JMException
agent context.
This method translates the agent attributes,
in their corresponding ObjectName patterns and monitors.
fc - the agent attribute for filtering component interface MBeans.str - the agent attribute for filtering string monitor MBeans.counter - the agent attribute for filtering counter monitor MBeans.gauge - the agent attribute for filtering gauge monitor MBeans.periodic - the agent attribute for filtering gauge monitor MBeans.
JMException - if a problem occurs during the translation.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||