org.rhq.plugins.mysql
Class MySqlComponent
java.lang.Object
org.rhq.plugins.mysql.MySqlComponent
- All Implemented Interfaces:
- AvailabilityFacet, ResourceComponent, MeasurementFacet, DatabaseComponent
public class MySqlComponent
- extends java.lang.Object
- implements DatabaseComponent, ResourceComponent, MeasurementFacet
- Author:
- Greg Hinkle
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MySqlComponent
public MySqlComponent()
start
public void start(ResourceContext resourceContext)
throws InvalidPluginConfigurationException,
java.lang.Exception
- Specified by:
start in interface ResourceComponent
- Throws:
InvalidPluginConfigurationException
java.lang.Exception
stop
public void stop()
- Specified by:
stop in interface ResourceComponent
getAvailability
public AvailabilityType getAvailability()
- Specified by:
getAvailability in interface AvailabilityFacet
getValues
public void getValues(MeasurementReport report,
java.util.Set<MeasurementScheduleRequest> metrics)
throws java.lang.Exception
- Specified by:
getValues in interface MeasurementFacet
- Throws:
java.lang.Exception
getConnection
public java.sql.Connection getConnection()
- Specified by:
getConnection in interface DatabaseComponent
removeConnection
public void removeConnection()
- Specified by:
removeConnection in interface DatabaseComponent
main
public static void main(java.lang.String[] args)
throws java.lang.ClassNotFoundException,
java.lang.IllegalAccessException,
java.lang.InstantiationException
- Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.