Class ObjectNameWrapper


  • public class ObjectNameWrapper
    extends AbstractWrapper
    A Wrapper for a JMX Object Name used in JEXL expressions.
    • 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 the AbstractWrapper.wrap(Object) method.
        Specified by:
        get in class AbstractWrapper
        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)