org.rhq.plugins.mysql
Class MySqlTableComponent

java.lang.Object
  extended by org.rhq.plugins.mysql.MySqlTableComponent
All Implemented Interfaces:
AvailabilityFacet, ResourceComponent, MeasurementFacet, DatabaseComponent

public class MySqlTableComponent
extends Object
implements DatabaseComponent, MeasurementFacet

Author:
Steve Millidge (C2B2 Consulting Limited)

Constructor Summary
MySqlTableComponent()
           
 
Method Summary
 org.rhq.core.domain.measurement.AvailabilityType getAvailability()
           
 Connection getConnection()
           
 void getValues(org.rhq.core.domain.measurement.MeasurementReport mr, Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> set)
           
 void removeConnection()
           
 void start(ResourceContext rc)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MySqlTableComponent

public MySqlTableComponent()
Method Detail

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

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 mr,
                      Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> set)
               throws Exception
Specified by:
getValues in interface MeasurementFacet
Throws:
Exception


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.