org.rhq.plugins.mysql
Class MySqlDatabaseComponent
java.lang.Object
org.rhq.plugins.mysql.MySqlDatabaseComponent
- All Implemented Interfaces:
- AvailabilityFacet, ResourceComponent, OperationFacet, DatabaseComponent
public class MySqlDatabaseComponent
- extends Object
- implements DatabaseComponent, AvailabilityFacet, OperationFacet
- Author:
- Steve Millidge (C2B2 Consulting Limited)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MySqlDatabaseComponent
public MySqlDatabaseComponent()
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
getName
public String getName()
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
invokeOperation
public OperationResult invokeOperation(String name,
org.rhq.core.domain.configuration.Configuration parameters)
throws InterruptedException,
Exception
- Specified by:
invokeOperation in interface OperationFacet
- Throws:
InterruptedException
Exception
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.