Class ObjectNameBuilder


  • public final class ObjectNameBuilder
    extends Object
    Class used to build ObjectNameBuilder for AMX MBeans.
    • Constructor Detail

      • ObjectNameBuilder

        public ObjectNameBuilder​(MBeanServer mbeanServer,
                                 String jmxDomain)
    • Method Detail

      • getJMXDomain

        public String getJMXDomain()
      • makeWild

        public static String makeWild​(String props)
      • buildChildObjectName

        public ObjectName buildChildObjectName​(Class<?> intf)
      • buildChildObjectName

        public static ObjectName buildChildObjectName​(MBeanServer server,
                                                      ObjectName parent,
                                                      String type,
                                                      String childName)
        Build an ObjectName for an MBean logically contained within the parent MBean. The child may be a true child (a subtype), or simply logically contained within the parent.
        Parameters:
        parent -
        type - type to be used in the ObjectName
        pathType - type to be used in the path, null if to be the same as type
        Returns:
        ObjectName