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 String CONTEXT_PATH_PROPERTY
           
static String RESPONSE_TIME_LOG_FILE_CONFIG_PROP
           
static 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(org.rhq.core.domain.measurement.MeasurementReport report, Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
           
 boolean isClustered()
           
 void start(ResourceContext<ProfileServiceComponent<?>> resourceContext)
           
 
Methods inherited from class org.rhq.plugins.jbossas5.ManagedComponentComponent
addValueToMeasurementReport, deleteResource, getAvailability, getComponentName, getComponentType, getInnerValue, getManagedComponent, getManagedProperty, getMeasurement, getSimpleValue, getSimpleValue, getValues, invokeOperation, 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 String VIRTUAL_HOST_PROPERTY
See Also:
Constant Field Values

CONTEXT_PATH_PROPERTY

public static final String CONTEXT_PATH_PROPERTY
See Also:
Constant Field Values

RESPONSE_TIME_LOG_FILE_CONFIG_PROP

public static final 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 Exception
Specified by:
start in interface ResourceComponent<ProfileServiceComponent<?>>
Overrides:
start in class ManagedComponentComponent
Throws:
Exception

getValues

public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
                      Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
               throws Exception
Specified by:
getValues in interface MeasurementFacet
Overrides:
getValues in class ManagedComponentComponent
Throws:
Exception

isClustered

public boolean isClustered()


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