public class PostgresUserComponent extends Object implements DatabaseComponent<PostgresServerComponent<?>>, MeasurementFacet, ConfigurationFacet, DeleteResourceFacet
| Modifier and Type | Class and Description |
|---|---|
static class |
PostgresUserComponent.UpdateType |
| Constructor and Description |
|---|
PostgresUserComponent() |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteResource() |
org.rhq.core.domain.measurement.AvailabilityType |
getAvailability() |
Connection |
getConnection() |
String |
getUserName() |
static String |
getUserSQL(org.rhq.core.domain.configuration.Configuration config,
PostgresUserComponent.UpdateType type) |
void |
getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics) |
org.rhq.core.domain.configuration.Configuration |
loadResourceConfiguration() |
void |
removeConnection() |
void |
start(ResourceContext<PostgresServerComponent<?>> resourceContext) |
void |
stop() |
void |
updateResourceConfiguration(ConfigurationUpdateReport report) |
public void start(ResourceContext<PostgresServerComponent<?>> resourceContext)
start in interface ResourceComponent<PostgresServerComponent<?>>public void stop()
stop in interface ResourceComponent<PostgresServerComponent<?>>public String getUserName()
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
getAvailability in interface AvailabilityFacetpublic Connection getConnection()
getConnection in interface DatabaseComponent<PostgresServerComponent<?>>public void removeConnection()
removeConnection in interface DatabaseComponent<PostgresServerComponent<?>>public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
throws Exception
getValues in interface MeasurementFacetExceptionpublic org.rhq.core.domain.configuration.Configuration loadResourceConfiguration()
throws Exception
loadResourceConfiguration in interface ConfigurationFacetExceptionpublic void updateResourceConfiguration(ConfigurationUpdateReport report)
updateResourceConfiguration in interface ConfigurationFacetpublic static String getUserSQL(org.rhq.core.domain.configuration.Configuration config, PostgresUserComponent.UpdateType type)
public void deleteResource()
throws Exception
deleteResource in interface DeleteResourceFacetExceptionCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.