Jopr Test Plugin 4.15.0.M1-SNAPSHOT

org.rhq.plugins.jbossts
Class BaseComponent

java.lang.Object
  extended by org.rhq.plugins.jbossts.BaseComponent
All Implemented Interfaces:
org.rhq.core.pluginapi.availability.AvailabilityFacet, org.rhq.core.pluginapi.inventory.ResourceComponent, org.rhq.core.pluginapi.measurement.MeasurementFacet, org.rhq.core.pluginapi.operation.OperationFacet
Direct Known Subclasses:
ParticipantComponent, TransactionComponent

public abstract class BaseComponent
extends java.lang.Object
implements org.rhq.core.pluginapi.inventory.ResourceComponent, org.rhq.core.pluginapi.measurement.MeasurementFacet, org.rhq.core.pluginapi.operation.OperationFacet


Constructor Summary
BaseComponent()
           
 
Method Summary
 org.rhq.core.domain.measurement.AvailabilityType getAvailability()
           
protected  org.mc4j.ems.connection.bean.EmsBean getBean()
           
protected abstract  org.mc4j.ems.connection.EmsConnection getEmsConnection()
           
protected  org.rhq.core.pluginapi.inventory.ResourceContext getResourceContext()
           
 void getValues(org.rhq.core.domain.measurement.MeasurementReport report, java.util.Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
           
 org.rhq.core.pluginapi.operation.OperationResult invokeOperation(java.lang.String name, org.rhq.core.domain.configuration.Configuration params)
           
 void start(org.rhq.core.pluginapi.inventory.ResourceContext context)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseComponent

public BaseComponent()
Method Detail

getEmsConnection

protected abstract org.mc4j.ems.connection.EmsConnection getEmsConnection()

getResourceContext

protected org.rhq.core.pluginapi.inventory.ResourceContext getResourceContext()

start

public void start(org.rhq.core.pluginapi.inventory.ResourceContext context)
           throws org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException
Specified by:
start in interface org.rhq.core.pluginapi.inventory.ResourceComponent
Throws:
org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException

stop

public void stop()
Specified by:
stop in interface org.rhq.core.pluginapi.inventory.ResourceComponent

getAvailability

public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
Specified by:
getAvailability in interface org.rhq.core.pluginapi.availability.AvailabilityFacet

getBean

protected org.mc4j.ems.connection.bean.EmsBean getBean()

getValues

public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
                      java.util.Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
               throws java.lang.Exception
Specified by:
getValues in interface org.rhq.core.pluginapi.measurement.MeasurementFacet
Throws:
java.lang.Exception

invokeOperation

public org.rhq.core.pluginapi.operation.OperationResult invokeOperation(java.lang.String name,
                                                                        org.rhq.core.domain.configuration.Configuration params)
Specified by:
invokeOperation in interface org.rhq.core.pluginapi.operation.OperationFacet

Jopr Test Plugin 4.15.0.M1-SNAPSHOT

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.