org.rhq.plugins.jmx
Class JavaUtilLoggingResourceComponent
java.lang.Object
org.rhq.plugins.jmx.MBeanResourceComponent
org.rhq.plugins.jmx.JavaUtilLoggingResourceComponent
- All Implemented Interfaces:
- AvailabilityFacet, ConfigurationFacet, ConfigurationFacetSupport, ResourceComponent, MeasurementFacet, OperationFacet, JMXComponent
public class JavaUtilLoggingResourceComponent
- extends MBeanResourceComponent
- Author:
- Greg Hinkle
| Methods inherited from class org.rhq.plugins.jmx.MBeanResourceComponent |
getAttributeName, getAttributeProperty, getAvailability, getBeanProperties, getEmsBean, getEmsConnection, getResourceContext, getValues, getValues, invokeOperation, invokeOperation, loadBean, loadBean, lookupAttributeProperty, setEmsBean, setResourceContext, start, stop, transformBeanName, updateResourceConfiguration |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaUtilLoggingResourceComponent
public JavaUtilLoggingResourceComponent()
loadResourceConfiguration
public Configuration loadResourceConfiguration()
- Description copied from class:
MBeanResourceComponent
- This default setup of configuration properties can map to mbean attributes
- Specified by:
loadResourceConfiguration in interface ConfigurationFacet- Overrides:
loadResourceConfiguration in class MBeanResourceComponent
- Returns:
- the configuration of the component
getLoggerLevel
public String getLoggerLevel(LoggingMXBean logging,
String name)
updateResourceConfiguration
public void updateResourceConfiguration(ConfigurationUpdateReport report)
- Note, this only supports editing existing appenders; adding or removing appenders is not supported, since the
underlying JVM mBean (LoggingMXBean) does not support it.
- Specified by:
updateResourceConfiguration in interface ConfigurationFacet- Overrides:
updateResourceConfiguration in class MBeanResourceComponent
- Parameters:
report - the report which will contain the results of the requested update
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.