org.rhq.plugins.mysql
Class MySqlUserComponent

java.lang.Object
  extended by 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)

Constructor Summary
MySqlUserComponent()
           
 
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> requests)
           
 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

MySqlUserComponent

public MySqlUserComponent()
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

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.