org.rhq.plugins.mysql
Class MySqlUserComponent
java.lang.Object
org.rhq.plugins.mysql.MySqlUserComponent
- All Implemented Interfaces:
- AvailabilityFacet, ResourceComponent, MeasurementFacet, DatabaseComponent
public class MySqlUserComponent
- extends Object
- implements MeasurementFacet, DatabaseComponent
- Author:
- Steve Millidge (C2B2 Consulting Limited)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MySqlUserComponent
public MySqlUserComponent()
getConnection
public Connection getConnection()
- Specified by:
getConnection in interface DatabaseComponent
removeConnection
public void removeConnection()
- Specified by:
removeConnection in interface DatabaseComponent
start
public void start(ResourceContext rc)
throws InvalidPluginConfigurationException,
Exception
- Specified by:
start in interface ResourceComponent
- Throws:
InvalidPluginConfigurationException
Exception
stop
public void stop()
- Specified by:
stop in interface ResourceComponent
getValues
public void getValues(org.rhq.core.domain.measurement.MeasurementReport mr,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
throws Exception
- Specified by:
getValues in interface MeasurementFacet
- Throws:
Exception
getAvailability
public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.