org.rhq.plugins.modcluster
Class WebappContextDiscoveryComponent
java.lang.Object
org.rhq.plugins.modcluster.WebappContextDiscoveryComponent
- All Implemented Interfaces:
- ResourceDiscoveryComponent<MBeanResourceComponent<?>>
public class WebappContextDiscoveryComponent
- extends Object
- implements ResourceDiscoveryComponent<MBeanResourceComponent<?>>
Discovers mod_cluster contexts from the proxyInfo mbean property.
- Author:
- Stefan Negrea
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WebappContextDiscoveryComponent
public WebappContextDiscoveryComponent()
discoverResources
public Set<DiscoveredResourceDetails> discoverResources(ResourceDiscoveryContext<MBeanResourceComponent<?>> context)
- Specified by:
discoverResources in interface ResourceDiscoveryComponent<MBeanResourceComponent<?>>
loadBean
protected org.mc4j.ems.connection.bean.EmsBean loadBean(MBeanResourceComponent<?> context,
String objectName)
- Loads the bean with the given object name.
Subclasses are free to override this method in order to load the bean.
- Parameters:
objectName - the name of the bean to load
- Returns:
- the bean that is loaded
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.