org.rhq.plugins.jbosscache3
Class JBossCacheDetailComponent

java.lang.Object
  extended by org.rhq.plugins.jbosscache3.JBossCacheDetailComponent
All Implemented Interfaces:
AvailabilityFacet, ResourceComponent<ProfileServiceComponent>, MeasurementFacet, OperationFacet, ProfileServiceComponent<ProfileServiceComponent>, JMXComponent<ProfileServiceComponent>

public class JBossCacheDetailComponent
extends Object
implements MeasurementFacet, OperationFacet, ProfileServiceComponent<ProfileServiceComponent>

Author:
Filip Drabek

Field Summary
static String CACHE_DETAIL_BEAN_NAME
           
static String JMX_NAME
           
 ProfileServiceComponent parentComponent
           
 
Fields inherited from interface org.rhq.plugins.jmx.JMXComponent
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP
 
Constructor Summary
JBossCacheDetailComponent()
           
 
Method Summary
 AvailabilityType getAvailability()
           
 ProfileServiceConnection getConnection()
           
 org.mc4j.ems.connection.EmsConnection getEmsConnection()
           
 ResourceContext<ProfileServiceComponent> getResourceContext()
           
 void getValues(MeasurementReport report, Set<MeasurementScheduleRequest> metrics)
           
 OperationResult invokeOperation(String name, Configuration parameters)
           
 void start(ResourceContext<ProfileServiceComponent> context)
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JMX_NAME

public static String JMX_NAME

CACHE_DETAIL_BEAN_NAME

public static String CACHE_DETAIL_BEAN_NAME

parentComponent

public ProfileServiceComponent parentComponent
Constructor Detail

JBossCacheDetailComponent

public JBossCacheDetailComponent()
Method Detail

start

public void start(ResourceContext<ProfileServiceComponent> context)
           throws InvalidPluginConfigurationException,
                  Exception
Specified by:
start in interface ResourceComponent<ProfileServiceComponent>
Throws:
InvalidPluginConfigurationException
Exception

stop

public void stop()
Specified by:
stop in interface ResourceComponent<ProfileServiceComponent>

getAvailability

public AvailabilityType getAvailability()
Specified by:
getAvailability in interface AvailabilityFacet

getEmsConnection

public org.mc4j.ems.connection.EmsConnection getEmsConnection()
Specified by:
getEmsConnection in interface JMXComponent<ProfileServiceComponent>

getConnection

public ProfileServiceConnection getConnection()
Specified by:
getConnection in interface ProfileServiceComponent<ProfileServiceComponent>

getResourceContext

@NotNull
public ResourceContext<ProfileServiceComponent> getResourceContext()
Specified by:
getResourceContext in interface ProfileServiceComponent<ProfileServiceComponent>

getValues

public void getValues(MeasurementReport report,
                      Set<MeasurementScheduleRequest> metrics)
               throws Exception
Specified by:
getValues in interface MeasurementFacet
Throws:
Exception

invokeOperation

public OperationResult invokeOperation(String name,
                                       Configuration parameters)
                                throws InterruptedException,
                                       Exception
Specified by:
invokeOperation in interface OperationFacet
Throws:
InterruptedException
Exception


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