org.infinispan.rhq
Class CacheManagerDiscovery

java.lang.Object
  extended by org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent<org.rhq.plugins.jmx.JMXComponent<?>>
      extended by org.infinispan.rhq.CacheManagerDiscovery
All Implemented Interfaces:
org.rhq.core.pluginapi.inventory.ManualAddFacet<org.rhq.plugins.jmx.JMXComponent<?>>, org.rhq.core.pluginapi.inventory.ResourceDiscoveryComponent<org.rhq.plugins.jmx.JMXComponent<?>>

public class CacheManagerDiscovery
extends org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent<org.rhq.plugins.jmx.JMXComponent<?>>
implements org.rhq.core.pluginapi.inventory.ManualAddFacet<org.rhq.plugins.jmx.JMXComponent<?>>

Discovery class for Infinispan engines

Author:
Heiko W. Rupp, Galder ZamarreƱo

Field Summary
static String CACHE_MANAGER_JMX_GROUP
           
protected static String CACHE_MANAGER_OBJECTS
           
 
Fields inherited from class org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent
PROPERTY_DESCRIPTION_TEMPLATE, PROPERTY_NAME_TEMPLATE, PROPERTY_OBJECT_NAME
 
Constructor Summary
CacheManagerDiscovery()
           
 
Method Summary
 org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails discoverResource(org.rhq.core.domain.configuration.Configuration pluginConfiguration, org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext<org.rhq.plugins.jmx.JMXComponent<?>> ctx)
           
 Set<org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails> discoverResources(org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext<org.rhq.plugins.jmx.JMXComponent<?>> ctx)
          Run the discovery
 
Methods inherited from class org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent
discoverResources, loadBean, performDiscovery, performDiscovery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CACHE_MANAGER_JMX_GROUP

public static final String CACHE_MANAGER_JMX_GROUP
See Also:
Constant Field Values

CACHE_MANAGER_OBJECTS

protected static final String CACHE_MANAGER_OBJECTS
See Also:
Constant Field Values
Constructor Detail

CacheManagerDiscovery

public CacheManagerDiscovery()
Method Detail

discoverResources

public Set<org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails> discoverResources(org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext<org.rhq.plugins.jmx.JMXComponent<?>> ctx)
Run the discovery

Specified by:
discoverResources in interface org.rhq.core.pluginapi.inventory.ResourceDiscoveryComponent<org.rhq.plugins.jmx.JMXComponent<?>>
Overrides:
discoverResources in class org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent<org.rhq.plugins.jmx.JMXComponent<?>>

discoverResource

public org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails discoverResource(org.rhq.core.domain.configuration.Configuration pluginConfiguration,
                                                                                   org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext<org.rhq.plugins.jmx.JMXComponent<?>> ctx)
                                                                            throws org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException
Specified by:
discoverResource in interface org.rhq.core.pluginapi.inventory.ManualAddFacet<org.rhq.plugins.jmx.JMXComponent<?>>
Throws:
org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException

-->

Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.