public final class ObjectNameBuilder extends Object
| Constructor and Description |
|---|
ObjectNameBuilder(MBeanServer mbeanServer,
ObjectName parent) |
ObjectNameBuilder(MBeanServer mbeanServer,
String jmxDomain) |
| Modifier and Type | Method and Description |
|---|---|
ObjectName |
buildChildObjectName(Class<?> intf) |
ObjectName |
buildChildObjectName(Class<?> intf,
String name) |
static ObjectName |
buildChildObjectName(MBeanServer server,
ObjectName parent,
Class<?> intf) |
static ObjectName |
buildChildObjectName(MBeanServer server,
ObjectName parent,
Class<?> intf,
String name) |
static ObjectName |
buildChildObjectName(MBeanServer server,
ObjectName parent,
String type,
String childName)
Build an ObjectName for an MBean logically contained within the parent MBean.
|
ObjectName |
buildChildObjectName(ObjectName parent,
String type,
String childName) |
ObjectName |
buildChildObjectName(String type,
String childName) |
static List<ObjectName> |
getAncestors(MBeanServer server,
ObjectName start)
Return a list of ancestors, with the child itself last in the list.
|
String |
getJMXDomain() |
static String |
makeWild(String props) |
public ObjectNameBuilder(MBeanServer mbeanServer, String jmxDomain)
public ObjectNameBuilder(MBeanServer mbeanServer, ObjectName parent)
public String getJMXDomain()
public static List<ObjectName> getAncestors(MBeanServer server, ObjectName start)
public ObjectName buildChildObjectName(ObjectName parent, String type, String childName)
public ObjectName buildChildObjectName(String type, String childName)
public ObjectName buildChildObjectName(Class<?> intf)
public ObjectName buildChildObjectName(Class<?> intf, String name)
public static ObjectName buildChildObjectName(MBeanServer server, ObjectName parent, String type, String childName)
parent - type - type to be used in the ObjectNamepathType - type to be used in the path, null if to be the same as typepublic static ObjectName buildChildObjectName(MBeanServer server, ObjectName parent, Class<?> intf, String name)
public static ObjectName buildChildObjectName(MBeanServer server, ObjectName parent, Class<?> intf)
Copyright © 2019. All rights reserved.