org.rhq.modules.plugins.jbossas7
Class ModClusterConfigurationDiscovery
java.lang.Object
org.rhq.modules.plugins.jbossas7.SubsystemDiscovery
org.rhq.modules.plugins.jbossas7.ModClusterConfigurationDiscovery
- All Implemented Interfaces:
- ResourceDiscoveryComponent<BaseComponent<?>>
public class ModClusterConfigurationDiscovery
- extends SubsystemDiscovery
Discover subsystems. We need to distinguish two cases denoted by the path
plugin config:
- Path is a single 'word': here the value denotes a key in the resource path
of AS7, that identifies a child type see e.g. the Connectors below the JBossWeb
service in the plugin descriptor. There can be multiple resources of the given
type. In addition it is possible that a path entry in configuration shares multiple
types that are separated by the pipe symbol.
- Path is a key-value pair (e.g. subsystem=web ). This denotes a singleton
subsystem with a fixes path within AS7 (perhaps below another resource in the
tree.
- Author:
- Simeon Pinder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModClusterConfigurationDiscovery
public ModClusterConfigurationDiscovery()
discoverResources
public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<BaseComponent<?>> context)
throws Exception
- Specified by:
discoverResources in interface ResourceDiscoveryComponent<BaseComponent<?>>- Overrides:
discoverResources in class SubsystemDiscovery
- Throws:
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.