org.rhq.plugins.jmx
Class EmbeddedJMXServerDiscoveryComponent
java.lang.Object
org.rhq.plugins.jmx.EmbeddedJMXServerDiscoveryComponent
- All Implemented Interfaces:
- ResourceDiscoveryComponent<JMXComponent<?>>
public class EmbeddedJMXServerDiscoveryComponent
- extends Object
- implements ResourceDiscoveryComponent<JMXComponent<?>>
This discovery component can be used to include a singleton JVM Resource under a parent server Resource that supports
JMX (e.g. JBoss AS or Tomcat). The parent resource type's component must implement JMXComponent and should discover
and manage the EmsConnection, since this discovery class and the resulting JMXComponent wll both delegate
all JMX calls to the parent component's EmsConnection. The JVM Resource and its child Resources expose
various JVM metrics and operations made available by the platform MXBeans.
- Author:
- Greg Hinkle, Ian Springer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmbeddedJMXServerDiscoveryComponent
public EmbeddedJMXServerDiscoveryComponent()
discoverResources
public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<JMXComponent<?>> context)
throws Exception
- Specified by:
discoverResources in interface ResourceDiscoveryComponent<JMXComponent<?>>
- Throws:
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.