org.rhq.plugins.jbossas5
Class JBossMessagingDiscoveryComponent
java.lang.Object
org.rhq.plugins.jbossas5.ManagedComponentDiscoveryComponent<ApplicationServerComponent<?>>
org.rhq.plugins.jbossas5.JBossMessagingDiscoveryComponent
- All Implemented Interfaces:
- ResourceDiscoveryComponent<ApplicationServerComponent<?>>
public class JBossMessagingDiscoveryComponent
- extends ManagedComponentDiscoveryComponent<ApplicationServerComponent<?>>
The ResourceDiscoveryComponent for the singleton JBoss Messaging ResourceType.
- Author:
- Ian Springer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossMessagingDiscoveryComponent
public JBossMessagingDiscoveryComponent()
discoverResources
public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<ApplicationServerComponent<?>> discoveryContext)
throws Exception
- Specified by:
discoverResources in interface ResourceDiscoveryComponent<ApplicationServerComponent<?>>- Overrides:
discoverResources in class ManagedComponentDiscoveryComponent<ApplicationServerComponent<?>>
- Throws:
Exception
getResourceName
protected String getResourceName(org.jboss.managed.api.ManagedComponent component)
- Description copied from class:
ManagedComponentDiscoveryComponent
- Subclasses can override this method if they don't want to use the ManagedComponent name as the initial
Resource name.
- Overrides:
getResourceName in class ManagedComponentDiscoveryComponent<ApplicationServerComponent<?>>
- Parameters:
component - the ManagedComponent being discovered
- Returns:
- the name to be assigned to the corresponding Resource
getResourceVersion
protected String getResourceVersion(org.jboss.managed.api.ManagedComponent component)
- Description copied from class:
ManagedComponentDiscoveryComponent
- Subclasses can override this method if they want the discovered ManagedComponent to have a version.
- Overrides:
getResourceVersion in class ManagedComponentDiscoveryComponent<ApplicationServerComponent<?>>
- Parameters:
component - the ManagedComponent being discovered
- Returns:
- the version to be assigned to the corresponding Resource
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.