org.rhq.plugins.jbossas
Class AbstractMessagingDiscoveryComponent

java.lang.Object
  extended by org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent<JMXComponent<?>>
      extended by org.rhq.plugins.jbossas.AbstractMessagingDiscoveryComponent
All Implemented Interfaces:
ResourceDiscoveryComponent<JMXComponent<?>>
Direct Known Subclasses:
JBossMessagingDiscoveryComponent, JBossMQDiscoveryComponent

public abstract class AbstractMessagingDiscoveryComponent
extends MBeanResourceDiscoveryComponent<JMXComponent<?>>

Abstract base class to discover JBossMessaging and JBossMQ related stuff

Author:
Heiko W. Rupp

Field Summary
 
Fields inherited from class org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent
PROPERTY_DESCRIPTION_TEMPLATE, PROPERTY_NAME_TEMPLATE, PROPERTY_OBJECT_NAME
 
Constructor Summary
AbstractMessagingDiscoveryComponent()
           
 
Method Summary
protected  Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<JMXComponent<?>> context, String objectName, String resourceName, String resourceDescription, String versionSource)
          Do the real discovery
 
Methods inherited from class org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent
discoverResources, discoverResources, loadBean, performDiscovery, performDiscovery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractMessagingDiscoveryComponent

public AbstractMessagingDiscoveryComponent()
Method Detail

discoverResources

protected Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<JMXComponent<?>> context,
                                                           String objectName,
                                                           String resourceName,
                                                           String resourceDescription,
                                                           String versionSource)
Do the real discovery

Parameters:
context - ResourceContext
objectName - Object name of the object that determines if the service is available
resourceName - Name of the resource
resourceDescription - Description of the resource
versionSource - A string that determines how to obtain the version. See getVersionFromSource(org.mc4j.ems.connection.EmsConnection, String)
Returns:
The details of a discovered resource.


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.