org.rhq.plugins.mobicents.servlet.sip
Class ConvergedWarComponent

java.lang.Object
  extended by org.rhq.plugins.jmx.MBeanResourceComponent<org.rhq.plugins.jbossas.JBossASServerComponent>
      extended by org.rhq.plugins.jbossas.ApplicationComponent
          extended by org.rhq.plugins.mobicents.servlet.sip.ConvergedWarComponent
All Implemented Interfaces:
org.rhq.core.pluginapi.configuration.ConfigurationFacet, org.rhq.core.pluginapi.content.ContentFacet, org.rhq.core.pluginapi.inventory.DeleteResourceFacet, org.rhq.core.pluginapi.inventory.ResourceComponent<org.rhq.plugins.jbossas.JBossASServerComponent>, org.rhq.core.pluginapi.measurement.MeasurementFacet, org.rhq.core.pluginapi.operation.OperationFacet, org.rhq.plugins.jmx.JMXComponent<org.rhq.plugins.jbossas.JBossASServerComponent>

public class ConvergedWarComponent
extends org.rhq.plugins.jbossas.ApplicationComponent
implements org.rhq.core.pluginapi.operation.OperationFacet

A JON plugin resource component for managing a webapp deployed to a JBossAS server. Original file copied over from jopr jboss as plugin trunk rev 26. Sip Session and Sip Application Session metrics specific to sip application are collected Manager has been changed to SipManager in the object name JMX fecthing

Author:
Ian Springer, Heiko W. Rupp, Jean Deruelle

Field Summary
static java.lang.String CONTEXT_ROOT_CONFIG_PROP
           
static java.lang.String FILE_NAME
           
static java.lang.String JBOSS_WEB_NAME
           
static java.lang.String NAME_CONFIG_PROP
           
static java.lang.String RESPONSE_TIME_LOG_FILE_CONFIG_PROP
           
static java.lang.String RESPONSE_TIME_URL_EXCLUDES_CONFIG_PROP
           
static java.lang.String RESPONSE_TIME_URL_TRANSFORMS_CONFIG_PROP
           
static java.lang.String ROOT_WEBAPP_CONTEXT_ROOT
           
static java.lang.String VHOST_CONFIG_PROP
           
 
Fields inherited from class org.rhq.plugins.jbossas.ApplicationComponent
FILENAME_PLUGIN_CONFIG_PROP
 
Fields inherited from class org.rhq.plugins.jmx.MBeanResourceComponent
bean, OBJECT_NAME_PROP, PROPERTY_TRANSFORM, resourceContext
 
Fields inherited from interface org.rhq.plugins.jmx.JMXComponent
CREDENTIALS_CONFIG_PROP, PRINCIPAL_CONFIG_PROP
 
Constructor Summary
ConvergedWarComponent()
           
 
Method Summary
 org.rhq.core.domain.measurement.AvailabilityType getAvailability()
           
 void getValues(org.rhq.core.domain.measurement.MeasurementReport report, java.util.Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> schedules)
           
 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 resourceContext)
           
 
Methods inherited from class org.rhq.plugins.jbossas.ApplicationComponent
deleteResource, deployPackages, discoverDeployedPackages, generateInstallationSteps, getApplicationName, getFileName, getParentResourceComponent, removePackages, retrievePackageBits, revertFromBackupFile
 
Methods inherited from class org.rhq.plugins.jmx.MBeanResourceComponent
getAttributeName, getAttributeProperty, getBeanProperties, getEmsBean, getEmsConnection, getResourceContext, getValues, invokeOperation, loadBean, loadBean, loadResourceConfiguration, lookupAttributeProperty, setEmsBean, setResourceContext, stop, transformBeanName, updateResourceConfiguration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_ROOT_CONFIG_PROP

public static final java.lang.String CONTEXT_ROOT_CONFIG_PROP
See Also:
Constant Field Values

NAME_CONFIG_PROP

public static final java.lang.String NAME_CONFIG_PROP
See Also:
Constant Field Values

FILE_NAME

public static final java.lang.String FILE_NAME
See Also:
Constant Field Values

JBOSS_WEB_NAME

public static final java.lang.String JBOSS_WEB_NAME
See Also:
Constant Field Values

RESPONSE_TIME_LOG_FILE_CONFIG_PROP

public static final java.lang.String RESPONSE_TIME_LOG_FILE_CONFIG_PROP
See Also:
Constant Field Values

RESPONSE_TIME_URL_EXCLUDES_CONFIG_PROP

public static final java.lang.String RESPONSE_TIME_URL_EXCLUDES_CONFIG_PROP
See Also:
Constant Field Values

RESPONSE_TIME_URL_TRANSFORMS_CONFIG_PROP

public static final java.lang.String RESPONSE_TIME_URL_TRANSFORMS_CONFIG_PROP
See Also:
Constant Field Values

VHOST_CONFIG_PROP

public static final java.lang.String VHOST_CONFIG_PROP
See Also:
Constant Field Values

ROOT_WEBAPP_CONTEXT_ROOT

public static final java.lang.String ROOT_WEBAPP_CONTEXT_ROOT
See Also:
Constant Field Values
Constructor Detail

ConvergedWarComponent

public ConvergedWarComponent()
Method Detail

getAvailability

public org.rhq.core.domain.measurement.AvailabilityType getAvailability()
Specified by:
getAvailability in interface org.rhq.core.pluginapi.inventory.ResourceComponent<org.rhq.plugins.jbossas.JBossASServerComponent>
Overrides:
getAvailability in class org.rhq.plugins.jmx.MBeanResourceComponent<org.rhq.plugins.jbossas.JBossASServerComponent>

start

public void start(org.rhq.core.pluginapi.inventory.ResourceContext resourceContext)
Specified by:
start in interface org.rhq.core.pluginapi.inventory.ResourceComponent<org.rhq.plugins.jbossas.JBossASServerComponent>
Overrides:
start in class org.rhq.plugins.jmx.MBeanResourceComponent<org.rhq.plugins.jbossas.JBossASServerComponent>

getValues

public void getValues(org.rhq.core.domain.measurement.MeasurementReport report,
                      java.util.Set<org.rhq.core.domain.measurement.MeasurementScheduleRequest> schedules)
Specified by:
getValues in interface org.rhq.core.pluginapi.measurement.MeasurementFacet
Overrides:
getValues in class org.rhq.plugins.jbossas.ApplicationComponent

invokeOperation

public org.rhq.core.pluginapi.operation.OperationResult invokeOperation(java.lang.String name,
                                                                        org.rhq.core.domain.configuration.Configuration params)
                                                                 throws java.lang.Exception
Specified by:
invokeOperation in interface org.rhq.core.pluginapi.operation.OperationFacet
Overrides:
invokeOperation in class org.rhq.plugins.jbossas.ApplicationComponent
Throws:
java.lang.Exception


Copyright © 2010. All Rights Reserved.