org.rhq.plugins.oracle
Class OracleServerComponent
java.lang.Object
org.rhq.plugins.oracle.OracleServerComponent
- All Implemented Interfaces:
- AvailabilityFacet, ResourceComponent, MeasurementFacet, DatabaseComponent
public class OracleServerComponent
- extends Object
- implements DatabaseComponent, MeasurementFacet
- Author:
- Greg Hinkle
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OracleServerComponent
public OracleServerComponent()
start
public void start(ResourceContext resourceContext)
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 report,
Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> metrics)
throws Exception
- Specified by:
getValues in interface MeasurementFacet
- Throws:
Exception
getConnection
public Connection getConnection()
- Specified by:
getConnection in interface DatabaseComponent
removeConnection
public void removeConnection()
- Specified by:
removeConnection in interface DatabaseComponent
buildConnection
public static Connection buildConnection(org.rhq.core.domain.configuration.Configuration configuration)
throws SQLException
- Throws:
SQLException
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.