de.is24.util.monitoring.jmx
Class InApplicationMonitorDynamicMBean
java.lang.Object
de.is24.util.monitoring.jmx.InApplicationMonitorDynamicMBean
- All Implemented Interfaces:
- DynamicMBean
public class InApplicationMonitorDynamicMBean
- extends Object
- implements DynamicMBean
Dynamic MBean that represents one non-primitive Reportable (Timer, HistorizableList)
that contains multiple values.
- Author:
- ptraeder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER
static final org.apache.log4j.Logger LOGGER
DATE_FORMAT
static final SimpleDateFormat DATE_FORMAT
type
private final JmxReportable type
InApplicationMonitorDynamicMBean
public InApplicationMonitorDynamicMBean(Reportable reportable)
- Parameters:
reportable - a Reportable to be monitored by this MBean. May not be null.
getMBeanInfo
public MBeanInfo getMBeanInfo()
- Specified by:
getMBeanInfo in interface DynamicMBean
getAttribute
public Object getAttribute(String attribute)
throws AttributeNotFoundException,
MBeanException,
ReflectionException
- Specified by:
getAttribute in interface DynamicMBean
- Throws:
AttributeNotFoundException
MBeanException
ReflectionException
getAttributes
public AttributeList getAttributes(String[] attributes)
- Specified by:
getAttributes in interface DynamicMBean
getAttributeInternal
private Object getAttributeInternal(String attribute)
setAttribute
public void setAttribute(Attribute attribute)
throws AttributeNotFoundException,
InvalidAttributeValueException,
MBeanException,
ReflectionException
- Specified by:
setAttribute in interface DynamicMBean
- Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException
setAttributes
public AttributeList setAttributes(AttributeList attributes)
- Specified by:
setAttributes in interface DynamicMBean
invoke
public Object invoke(String actionName,
Object[] params,
String[] signature)
throws MBeanException,
ReflectionException
- Specified by:
invoke in interface DynamicMBean
- Throws:
MBeanException
ReflectionException
Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.