org.infinispan.rhq
Class CacheDiscovery

java.lang.Object
  extended by org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent<CacheManagerComponent>
      extended by org.infinispan.rhq.CacheDiscovery
All Implemented Interfaces:
org.rhq.core.pluginapi.inventory.ResourceDiscoveryComponent<CacheManagerComponent>

public class CacheDiscovery
extends org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent<CacheManagerComponent>

Discovery class for individual cache instances

Author:
Heiko W. Rupp, Galder ZamarreƱo

Field Summary
 
Fields inherited from class org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent
PROPERTY_DESCRIPTION_TEMPLATE, PROPERTY_NAME_TEMPLATE, PROPERTY_OBJECT_NAME
 
Constructor Summary
CacheDiscovery()
           
 
Method Summary
protected static String cacheComponentPattern(String cacheManagerName, String componentName)
           
 Set<org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails> discoverResources(org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext<CacheManagerComponent> ctx)
          Run the discovery
 
Methods inherited from class org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent
discoverResources, performDiscovery, performDiscovery
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CacheDiscovery

public CacheDiscovery()
Method Detail

discoverResources

public Set<org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails> discoverResources(org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext<CacheManagerComponent> ctx)
Run the discovery

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

cacheComponentPattern

protected static String cacheComponentPattern(String cacheManagerName,
                                              String componentName)

-->

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