org.rhq.plugins.jbossas5
Class AbstractEjbBeanComponent

java.lang.Object
  extended by org.rhq.plugins.jbossas5.AbstractManagedComponent
      extended by org.rhq.plugins.jbossas5.ManagedComponentComponent
          extended by org.rhq.plugins.jbossas5.AbstractEjbBeanComponent
All Implemented Interfaces:
AvailabilityFacet, ConfigurationFacet, DeleteResourceFacet, ResourceComponent<ProfileServiceComponent<?>>, MeasurementFacet, OperationFacet, ProfileServiceComponent<ProfileServiceComponent<?>>, JMXComponent<ProfileServiceComponent<?>>
Direct Known Subclasses:
Ejb2BeanComponent, Ejb3BeanComponent

public abstract class AbstractEjbBeanComponent
extends ManagedComponentComponent
implements OperationFacet

An abstract plugin component for managing an EJB bean - has two subclasses - one for EJB2 beans and one for EJB3 beans.

Author:
Lukas Krejci, 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
AbstractEjbBeanComponent()
           
 
Method Summary
 void getValues(org.rhq.core.domain.measurement.MeasurementReport report, Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> requests)
           
 OperationResult invokeOperation(String name, org.rhq.core.domain.configuration.Configuration parameters)
           
 
Methods inherited from class org.rhq.plugins.jbossas5.ManagedComponentComponent
addValueToMeasurementReport, deleteResource, getAvailability, getComponentName, getComponentType, getInnerValue, getManagedComponent, getManagedProperty, getMeasurement, getSimpleValue, getSimpleValue, getValues, invokeOperation, loadResourceConfiguration, start, stop, 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

AbstractEjbBeanComponent

public AbstractEjbBeanComponent()
Method Detail

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

invokeOperation

public OperationResult invokeOperation(String name,
                                       org.rhq.core.domain.configuration.Configuration parameters)
                                throws Exception
Specified by:
invokeOperation in interface OperationFacet
Overrides:
invokeOperation in class ManagedComponentComponent
Throws:
Exception


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