org.rhq.plugins.database
Class CustomTableComponent
java.lang.Object
org.rhq.plugins.database.CustomTableComponent
- All Implemented Interfaces:
- AvailabilityFacet, ResourceComponent<DatabaseComponent<?>>, MeasurementFacet, DatabaseComponent<DatabaseComponent<?>>
public class CustomTableComponent
- extends Object
- implements DatabaseComponent<DatabaseComponent<?>>, MeasurementFacet
The component for the CustomTableDiscoveryComponent.
- Author:
- Greg Hinkle
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomTableComponent
public CustomTableComponent()
start
public void start(ResourceContext<DatabaseComponent<?>> resourceContext)
throws InvalidPluginConfigurationException,
Exception
- Specified by:
start in interface ResourceComponent<DatabaseComponent<?>>
- Throws:
InvalidPluginConfigurationException
Exception
stop
public void stop()
- Specified by:
stop in interface ResourceComponent<DatabaseComponent<?>>
getTable
public String getTable()
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
getConnection
public Connection getConnection()
- Specified by:
getConnection in interface DatabaseComponent<DatabaseComponent<?>>
removeConnection
public void removeConnection()
- Specified by:
removeConnection in interface DatabaseComponent<DatabaseComponent<?>>
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.