net.esper.indicator.jmx
Class JMXLastCubeElementDynamicMBean

java.lang.Object
  extended by net.esper.indicator.jmx.JMXLastCubeElementDynamicMBean
All Implemented Interfaces:
DynamicMBean, JMXLastElementObserver

public final class JMXLastCubeElementDynamicMBean
extends Object
implements JMXLastElementObserver

JMX dynamic MBean that displays tabular data and/or cells that represent a rendered Cube.


Constructor Summary
JMXLastCubeElementDynamicMBean()
          Constructor.
 
Method Summary
 Object getAttribute(String attribute)
           
 AttributeList getAttributes(String[] attributes)
           
 MBeanInfo getMBeanInfo()
           
 Object invoke(String actionName, Object[] params, String[] signature)
           
 void setAttribute(Attribute attribute)
           
 AttributeList setAttributes(AttributeList attributes)
           
protected  void setCube(Cube cube)
          Set the cube to display.
 void setLastValue(EventBean element)
          Set last element containing the cube information to render.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JMXLastCubeElementDynamicMBean

public JMXLastCubeElementDynamicMBean()
Constructor. Initailizes mbean info and cells and tables list.

Method Detail

setLastValue

public final void setLastValue(EventBean element)
Set last element containing the cube information to render.

Specified by:
setLastValue in interface JMXLastElementObserver
Parameters:
element - is the last element

setCube

protected final void setCube(Cube cube)
Set the cube to display.

Parameters:
cube - to to render

getAttribute

public final Object getAttribute(String attribute)
                          throws AttributeNotFoundException,
                                 MBeanException,
                                 ReflectionException
Specified by:
getAttribute in interface DynamicMBean
Throws:
AttributeNotFoundException
MBeanException
ReflectionException

setAttribute

public final void setAttribute(Attribute attribute)
                        throws AttributeNotFoundException,
                               InvalidAttributeValueException,
                               MBeanException,
                               ReflectionException
Specified by:
setAttribute in interface DynamicMBean
Throws:
AttributeNotFoundException
InvalidAttributeValueException
MBeanException
ReflectionException

getAttributes

public final AttributeList getAttributes(String[] attributes)
Specified by:
getAttributes in interface DynamicMBean

setAttributes

public final AttributeList setAttributes(AttributeList attributes)
Specified by:
setAttributes in interface DynamicMBean

invoke

public final Object invoke(String actionName,
                           Object[] params,
                           String[] signature)
                    throws MBeanException,
                           ReflectionException
Specified by:
invoke in interface DynamicMBean
Throws:
MBeanException
ReflectionException

getMBeanInfo

public final MBeanInfo getMBeanInfo()
Specified by:
getMBeanInfo in interface DynamicMBean

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com