org.rhq.plugins.jbossas5
Class WebApplicationContextComponent

java.lang.Object
  extended by org.rhq.plugins.jbossas5.AbstractManagedComponent
      extended by org.rhq.plugins.jbossas5.ManagedComponentComponent
          extended by org.rhq.plugins.jbossas5.WebApplicationContextComponent
All Implemented Interfaces:
AvailabilityFacet, ConfigurationFacet, DeleteResourceFacet, ResourceComponent<ProfileServiceComponent>, MeasurementFacet, OperationFacet, ProfileServiceComponent<ProfileServiceComponent>, JMXComponent<ProfileServiceComponent>

public class WebApplicationContextComponent
extends ManagedComponentComponent

A Resource component for web application contexts (e.g. "//localhost/jmx-console").

Author:
Ian Springer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.rhq.plugins.jbossas5.ManagedComponentComponent
ManagedComponentComponent.Config
 
Field Summary
static java.lang.String CONTEXT_PATH_PROPERTY
           
static java.lang.String RESPONSE_TIME_LOG_FILE_CONFIG_PROP
           
static java.lang.String VIRTUAL_HOST_PROPERTY
           
 
Fields inherited from class org.rhq.plugins.jbossas5.ManagedComponentComponent
PREFIX_DELIMITER
 
Fields inherited from interface org.rhq.plugins.jmx.JMXComponent
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP
 
Constructor Summary
WebApplicationContextComponent()
           
 
Method Summary
 void getValues(MeasurementReport report, java.util.Set<MeasurementScheduleRequest> requests)
           
 void start(ResourceContext<ProfileServiceComponent> resourceContext)
           
 
Methods inherited from class org.rhq.plugins.jbossas5.ManagedComponentComponent
addValueToMeasurementReport, deleteResource, getAvailability, getComponentName, getComponentType, getManagedComponent, getSimpleValue, invokeOperation, loadResourceConfiguration, stop, updateComponent, updateResourceConfiguration
 
Methods inherited from class org.rhq.plugins.jbossas5.AbstractManagedComponent
getConnection, getEmsConnection, getResourceContext, getResourceDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VIRTUAL_HOST_PROPERTY

public static final java.lang.String VIRTUAL_HOST_PROPERTY
See Also:
Constant Field Values

CONTEXT_PATH_PROPERTY

public static final java.lang.String CONTEXT_PATH_PROPERTY
See Also:
Constant Field Values

RESPONSE_TIME_LOG_FILE_CONFIG_PROP

public static final java.lang.String RESPONSE_TIME_LOG_FILE_CONFIG_PROP
See Also:
Constant Field Values
Constructor Detail

WebApplicationContextComponent

public WebApplicationContextComponent()
Method Detail

start

public void start(ResourceContext<ProfileServiceComponent> resourceContext)
           throws java.lang.Exception
Specified by:
start in interface ResourceComponent<ProfileServiceComponent>
Overrides:
start in class ManagedComponentComponent
Throws:
java.lang.Exception

getValues

public void getValues(MeasurementReport report,
                      java.util.Set<MeasurementScheduleRequest> requests)
               throws java.lang.Exception
Specified by:
getValues in interface MeasurementFacet
Overrides:
getValues in class ManagedComponentComponent
Throws:
java.lang.Exception


Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.