org.jbosson.plugins.fuse
Class ActiveMQDiscoveryComponent<T extends org.rhq.plugins.jmx.JMXComponent<?>>
java.lang.Object
org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent<T>
org.jbosson.plugins.fuse.FuseMBeanDiscoveryComponent<T>
org.jbosson.plugins.fuse.ActiveMQDiscoveryComponent<T>
- All Implemented Interfaces:
- org.rhq.core.pluginapi.inventory.ResourceDiscoveryComponent<T>
public class ActiveMQDiscoveryComponent<T extends org.rhq.plugins.jmx.JMXComponent<?>>
- extends FuseMBeanDiscoveryComponent<T>
Adds support for alternative objectNames in property objectName1
- Author:
- dbokde
|
Field Summary |
protected org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext<T> |
discoveryContext
|
protected org.apache.commons.logging.Log |
log
|
| Fields inherited from class org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent |
PROPERTY_DESCRIPTION_TEMPLATE, PROPERTY_NAME_TEMPLATE, PROPERTY_OBJECT_NAME |
|
Method Summary |
Set<org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails> |
discoverResources(org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext<T> context)
|
Set<org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails> |
performDiscovery(org.rhq.core.domain.configuration.Configuration pluginConfiguration,
org.rhq.plugins.jmx.JMXComponent parentResourceComponent,
org.rhq.core.domain.resource.ResourceType resourceType,
boolean skipUnknownProps)
|
protected Set<org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails> |
performDiscovery(org.rhq.core.domain.configuration.Configuration pluginConfiguration,
org.rhq.plugins.jmx.JMXComponent parentResourceComponent,
org.rhq.core.domain.resource.ResourceType resourceType,
boolean skipUnknownProps,
String objectNameQueryTemplateOrig)
Shamelessly plagiarized from MBeanResourceDiscoveryComponent.performDiscovery(),
since that method has a fixed reference to objectName property
NOTE that this method also overrides the discovered resource's objectName to be the actual bean name,
hence the default MBeanResourceComponent will still work |
| Methods inherited from class org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent |
discoverResources, loadBean, performDiscovery |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected final org.apache.commons.logging.Log log
discoveryContext
protected org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext<T extends org.rhq.plugins.jmx.JMXComponent<?>> discoveryContext
ActiveMQDiscoveryComponent
public ActiveMQDiscoveryComponent()
discoverResources
public Set<org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails> discoverResources(org.rhq.core.pluginapi.inventory.ResourceDiscoveryContext<T> context)
- Specified by:
discoverResources in interface org.rhq.core.pluginapi.inventory.ResourceDiscoveryComponent<T extends org.rhq.plugins.jmx.JMXComponent<?>>- Overrides:
discoverResources in class FuseMBeanDiscoveryComponent<T extends org.rhq.plugins.jmx.JMXComponent<?>>
performDiscovery
public Set<org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails> performDiscovery(org.rhq.core.domain.configuration.Configuration pluginConfiguration,
org.rhq.plugins.jmx.JMXComponent parentResourceComponent,
org.rhq.core.domain.resource.ResourceType resourceType,
boolean skipUnknownProps)
- Overrides:
performDiscovery in class org.rhq.plugins.jmx.MBeanResourceDiscoveryComponent<T extends org.rhq.plugins.jmx.JMXComponent<?>>
performDiscovery
protected Set<org.rhq.core.pluginapi.inventory.DiscoveredResourceDetails> performDiscovery(org.rhq.core.domain.configuration.Configuration pluginConfiguration,
org.rhq.plugins.jmx.JMXComponent parentResourceComponent,
org.rhq.core.domain.resource.ResourceType resourceType,
boolean skipUnknownProps,
String objectNameQueryTemplateOrig)
- Shamelessly plagiarized from MBeanResourceDiscoveryComponent.performDiscovery(),
since that method has a fixed reference to objectName property
NOTE that this method also overrides the discovered resource's objectName to be the actual bean name,
hence the default MBeanResourceComponent will still work
Copyright © 2014. All rights reserved.