Package io.hawt.jmx
Class JmxTreeWatcher
- java.lang.Object
-
- io.hawt.jmx.JmxTreeWatcher
-
- All Implemented Interfaces:
JmxTreeWatcherMBean
- Direct Known Subclasses:
PluginRegistry
public class JmxTreeWatcher extends Object implements JmxTreeWatcherMBean
A simple MBean to watch the JMX tree so it's easy for clients to know when they should refresh their JMX trees (which typically isn't a cheap operation).
-
-
Constructor Summary
Constructors Constructor Description JmxTreeWatcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()longgetCounter()protected NotificationFiltergetNotificationFilter()protected NotificationListenergetNotificationListener()protected ObjectNamegetObjectName()StringgetVersion()voidinit()
-
-
-
Method Detail
-
getVersion
public String getVersion()
-
getObjectName
protected ObjectName getObjectName() throws Exception
- Throws:
Exception
-
getNotificationListener
protected NotificationListener getNotificationListener()
-
getNotificationFilter
protected NotificationFilter getNotificationFilter()
-
getCounter
public long getCounter()
- Specified by:
getCounterin interfaceJmxTreeWatcherMBean
-
-