org.rhq.plugins.netservices
Class HTTPNetServiceComponent

java.lang.Object
  extended by org.rhq.plugins.netservices.HTTPNetServiceComponent
All Implemented Interfaces:
AvailabilityFacet, ResourceComponent, MeasurementFacet, OperationFacet

public class HTTPNetServiceComponent
extends Object
implements ResourceComponent, MeasurementFacet, OperationFacet

Monitoring of HTTP Servers

Author:
Greg Hinkle

Field Summary
static String CONFIG_FOLOW_REDIRECTS
           
static String CONFIG_METHOD
           
static String CONFIG_PASSWORD
           
static String CONFIG_REALM
           
static String CONFIG_RESPONSE_PATTERN
           
static String CONFIG_SSL_PROTOCOL
           
static String CONFIG_URL
           
static String CONFIG_USER
           
 
Constructor Summary
HTTPNetServiceComponent()
           
 
Method Summary
 org.rhq.core.domain.measurement.AvailabilityType getAvailability()
           
 void getValues(org.rhq.core.domain.measurement.MeasurementReport report, Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
           
 boolean getValuesOrAvailability(org.rhq.core.domain.measurement.MeasurementReport report, Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
           
 OperationResult invokeOperation(String name, org.rhq.core.domain.configuration.Configuration parameters)
           
 void start(ResourceContext resourceContext)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_URL

public static final String CONFIG_URL
See Also:
Constant Field Values

CONFIG_USER

public static final String CONFIG_USER
See Also:
Constant Field Values

CONFIG_PASSWORD

public static final String CONFIG_PASSWORD
See Also:
Constant Field Values

CONFIG_REALM

public static final String CONFIG_REALM
See Also:
Constant Field Values

CONFIG_SSL_PROTOCOL

public static final String CONFIG_SSL_PROTOCOL
See Also:
Constant Field Values

CONFIG_METHOD

public static final String CONFIG_METHOD
See Also:
Constant Field Values

CONFIG_FOLOW_REDIRECTS

public static final String CONFIG_FOLOW_REDIRECTS
See Also:
Constant Field Values

CONFIG_RESPONSE_PATTERN

public static final String CONFIG_RESPONSE_PATTERN
See Also:
Constant Field Values
Constructor Detail

HTTPNetServiceComponent

public HTTPNetServiceComponent()
Method Detail

start

public void start(ResourceContext resourceContext)
           throws InvalidPluginConfigurationException,
                  Exception
Specified by:
start in interface ResourceComponent
Throws:
InvalidPluginConfigurationException
Exception

stop

public void stop()
Specified by:
stop in interface ResourceComponent

getAvailability

public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
Specified by:
getAvailability in interface AvailabilityFacet

getValues

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

getValuesOrAvailability

public boolean getValuesOrAvailability(org.rhq.core.domain.measurement.MeasurementReport report,
                                       Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
                                throws Exception
Throws:
Exception

invokeOperation

public OperationResult invokeOperation(String name,
                                       org.rhq.core.domain.configuration.Configuration parameters)
                                throws InterruptedException,
                                       Exception
Specified by:
invokeOperation in interface OperationFacet
Throws:
InterruptedException
Exception


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