public class ApacheVirtualHostServiceComponent extends Object implements ResourceComponent<ApacheServerComponent>, MeasurementFacet, ConfigurationFacet, DeleteResourceFacet, CreateChildResourceFacet
| Modifier and Type | Field and Description |
|---|---|
static String |
MAIN_SERVER_RESOURCE_KEY |
static String |
RESOURCE_TYPE_NAME |
static String |
RESPONSE_TIME_LOG_FILE_CONFIG_PROP |
static String |
RESPONSE_TIME_URL_EXCLUDES_CONFIG_PROP |
static String |
RESPONSE_TIME_URL_TRANSFORMS_CONFIG_PROP |
static String |
SERVER_NAME_CONFIG_PROP |
static String |
URL_CONFIG_PROP |
| Constructor and Description |
|---|
ApacheVirtualHostServiceComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
conditionalRestart() |
CreateResourceReport |
createResource(CreateResourceReport report) |
void |
deleteEmptyFile(AugeasTree tree,
AugeasNode deletedNode) |
void |
deleteResource() |
void |
finishConfigurationUpdate(ConfigurationUpdateReport report) |
AugeasComponent |
getAugeas() |
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability() |
AugeasNode |
getNode(AugeasTree tree)
Returns a node corresponding to this component in the Augeas tree.
|
void |
getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> schedules) |
static int |
getWwwServiceIndex(ApacheServerComponent parent,
String resourceKey) |
boolean |
isAugeasEnabled() |
org.rhq.core.domain.configuration.Configuration |
loadResourceConfiguration() |
void |
start(ResourceContext<ApacheServerComponent> resourceContext) |
void |
stop() |
void |
updateResourceConfiguration(ConfigurationUpdateReport report) |
public static final String URL_CONFIG_PROP
public static final String MAIN_SERVER_RESOURCE_KEY
public static final String RESPONSE_TIME_LOG_FILE_CONFIG_PROP
public static final String RESPONSE_TIME_URL_EXCLUDES_CONFIG_PROP
public static final String RESPONSE_TIME_URL_TRANSFORMS_CONFIG_PROP
public static final String SERVER_NAME_CONFIG_PROP
public static final String RESOURCE_TYPE_NAME
public void start(ResourceContext<ApacheServerComponent> resourceContext) throws Exception
start in interface ResourceComponent<ApacheServerComponent>Exceptionpublic void stop()
stop in interface ResourceComponent<ApacheServerComponent>public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
getAvailability in interface AvailabilityFacetpublic org.rhq.core.domain.configuration.Configuration loadResourceConfiguration()
throws Exception
loadResourceConfiguration in interface ConfigurationFacetExceptionpublic void updateResourceConfiguration(ConfigurationUpdateReport report)
updateResourceConfiguration in interface ConfigurationFacetpublic void deleteResource()
throws Exception
deleteResource in interface DeleteResourceFacetExceptionpublic void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> schedules)
throws Exception
getValues in interface MeasurementFacetExceptionpublic CreateResourceReport createResource(CreateResourceReport report)
createResource in interface CreateChildResourceFacetpublic AugeasComponent getAugeas()
public AugeasNode getNode(AugeasTree tree)
tree - IllegalStateException - if none or more than one nodes foundpublic void finishConfigurationUpdate(ConfigurationUpdateReport report)
public void conditionalRestart()
throws Exception
ExceptionApacheServerComponent.conditionalRestart()public void deleteEmptyFile(AugeasTree tree, AugeasNode deletedNode)
public static int getWwwServiceIndex(ApacheServerComponent parent, String resourceKey)
public boolean isAugeasEnabled()
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.