Class ObjectNameWrapper
- java.lang.Object
-
- org.opennms.netmgt.poller.jmx.wrappers.AbstractWrapper
-
- org.opennms.netmgt.poller.jmx.wrappers.ObjectNameWrapper
-
public class ObjectNameWrapper extends AbstractWrapper
A Wrapper for a JMX Object Name used in JEXL expressions.
-
-
Field Summary
-
Fields inherited from class org.opennms.netmgt.poller.jmx.wrappers.AbstractWrapper
connection
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectNameWrapper
create(javax.management.MBeanServerConnection connection, java.lang.String objectNameString)
static ObjectNameWrapper
create(javax.management.MBeanServerConnection connection, javax.management.ObjectName objectName)
java.lang.Object
get(java.lang.String attributeName)
Get the value of the requested attribute.-
Methods inherited from class org.opennms.netmgt.poller.jmx.wrappers.AbstractWrapper
wrap
-
-
-
-
Method Detail
-
get
public java.lang.Object get(java.lang.String attributeName)
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:
attributeName
- the name of the requested attribute- Returns:
- the value
-
create
public static ObjectNameWrapper create(javax.management.MBeanServerConnection connection, javax.management.ObjectName objectName)
-
create
public static ObjectNameWrapper create(javax.management.MBeanServerConnection connection, java.lang.String objectNameString)
-
-