org.rhq.plugins.jbossas5
Class JBossMessagingComponent

java.lang.Object
  extended by org.rhq.plugins.jbossas5.AbstractManagedComponent
      extended by org.rhq.plugins.jbossas5.ManagedComponentComponent
          extended by org.rhq.plugins.jbossas5.JBossMessagingComponent
All Implemented Interfaces:
AvailabilityFacet, ConfigurationFacet, CreateChildResourceFacet, DeleteResourceFacet, ResourceComponent<ProfileServiceComponent<?>>, MeasurementFacet, OperationFacet, ProfileServiceComponent<ProfileServiceComponent<?>>, JMXComponent<ProfileServiceComponent<?>>

public class JBossMessagingComponent
extends ManagedComponentComponent
implements CreateChildResourceFacet, MeasurementFacet

The ResourceComponent for the singleton JBoss Messaging ResourceType, which supports creation of two child ResourceTypes - Queue and Topic.

Author:
Ian Springer

Nested Class Summary
 
Nested classes/interfaces inherited from class org.rhq.plugins.jbossas5.ManagedComponentComponent
ManagedComponentComponent.Config
 
Field Summary
 
Fields inherited from class org.rhq.plugins.jbossas5.ManagedComponentComponent
PREFIX_DELIMITER
 
Fields inherited from interface org.rhq.plugins.jmx.JMXComponent
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP
 
Constructor Summary
JBossMessagingComponent()
           
 
Method Summary
 CreateResourceReport createResource(CreateResourceReport createResourceReport)
           
 void getValues(org.rhq.core.domain.measurement.MeasurementReport report, Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
           
 void start(ResourceContext<ProfileServiceComponent<?>> resourceContext)
           
 void stop()
           
 
Methods inherited from class org.rhq.plugins.jbossas5.ManagedComponentComponent
addValueToMeasurementReport, deleteResource, getAvailability, getComponentName, getComponentType, getInnerValue, getManagedComponent, getManagedProperty, getMeasurement, getSimpleValue, getSimpleValue, getValues, invokeOperation, invokeOperation, loadResourceConfiguration, updateComponent, updateResourceConfiguration
 
Methods inherited from class org.rhq.plugins.jbossas5.AbstractManagedComponent
getConnection, getEmsConnection, getResourceContext, getResourceDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossMessagingComponent

public JBossMessagingComponent()
Method Detail

start

public void start(ResourceContext<ProfileServiceComponent<?>> resourceContext)
           throws Exception
Specified by:
start in interface ResourceComponent<ProfileServiceComponent<?>>
Overrides:
start in class ManagedComponentComponent
Throws:
Exception

stop

public void stop()
Specified by:
stop in interface ResourceComponent<ProfileServiceComponent<?>>
Overrides:
stop in class ManagedComponentComponent

getValues

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

createResource

public CreateResourceReport createResource(CreateResourceReport createResourceReport)
Specified by:
createResource in interface CreateChildResourceFacet


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