de.is24.util.monitoring.jmx
Class HistorizableListJmxReportable

java.lang.Object
  extended by de.is24.util.monitoring.jmx.HistorizableListJmxReportable
All Implemented Interfaces:
JmxReportable

 class HistorizableListJmxReportable
extends Object
implements JmxReportable

A wrapper for monitoring HistorizableList reportables.

Author:
Stefan Schubert, IT-E, IS24

Field Summary
private static org.apache.log4j.Logger LOGGER
           
private  HistorizableList reportable
           
 
Constructor Summary
HistorizableListJmxReportable(HistorizableList reportable)
           
 
Method Summary
 Object getAttribute(String attributeName)
           
 MBeanAttributeInfo[] getAttributes()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOGGER

private static final org.apache.log4j.Logger LOGGER

reportable

private final HistorizableList reportable
Constructor Detail

HistorizableListJmxReportable

public HistorizableListJmxReportable(HistorizableList reportable)
Parameters:
reportable - the HistorizableList. May not be null.
Method Detail

getAttributes

public MBeanAttributeInfo[] getAttributes()
Specified by:
getAttributes in interface JmxReportable
Returns:
a list of MBeanAttributeInfo, that is the specification of available attributes for monitoring.

getAttribute

public Object getAttribute(String attributeName)
Specified by:
getAttribute in interface JmxReportable
Parameters:
attributeName - the name of the attribute to be monitored.
Returns:
the current value of the requested attribute.


Copyright © 2013 Immobilien Scout GmbH. All Rights Reserved.