Class CompositeDataWrapper
- java.lang.Object
-
- org.opennms.netmgt.poller.jmx.wrappers.AbstractWrapper
-
- org.opennms.netmgt.poller.jmx.wrappers.CompositeDataWrapper
-
public class CompositeDataWrapper extends AbstractWrapper
A Wrapper for a JMX Composite used in JEXL expressions.
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.poller.jmx.wrappers.AbstractWrapper
connection
-
-
Constructor Summary
Constructors Constructor Description CompositeDataWrapper(MBeanServerConnection connection, CompositeDataSupport data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
get(String name)
Get the value of the requested attribute.-
Methods inherited from class org.opennms.netmgt.poller.jmx.wrappers.AbstractWrapper
wrap
-
-
-
-
Constructor Detail
-
CompositeDataWrapper
public CompositeDataWrapper(MBeanServerConnection connection, CompositeDataSupport data)
-
-
Method Detail
-
get
public Object get(String name)
Description copied from class:AbstractWrapper
Get the value of the requested attribute. Implementors should wrap the result using theAbstractWrapper.wrap(Object)
method.- Specified by:
get
in classAbstractWrapper
- Parameters:
name
- the name of the requested attribute- Returns:
- the value
-
-