org.rhq.plugins.jmx
Class EmbeddedJMXServerDiscoveryComponent

java.lang.Object
  extended by 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 JVM information under a parent Process oriented server that supports JMX (e.g. JBoss AS or Tomcat). The parent resource type's component must implement JMXComponent.

The discovered resource is called the same name as its type or according to the "embeddedJvmName" property from the parent server's plugin configuration.

Author:
Greg Hinkle

Constructor Summary
EmbeddedJMXServerDiscoveryComponent()
           
 
Method Summary
 Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<JMXComponent<?>> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedJMXServerDiscoveryComponent

public EmbeddedJMXServerDiscoveryComponent()
Method Detail

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.