org.neo4j.jmx.impl
Class ManagementSupport
java.lang.Object
org.neo4j.jmx.impl.ManagementSupport
- Direct Known Subclasses:
- HotspotManagementSupport
public class ManagementSupport
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagementSupport
public ManagementSupport()
getMBeanServer
protected MBeanServer getMBeanServer()
makeProxy
protected <T> T makeProxy(KernelBean kernel,
ObjectName name,
Class<T> beanInterface)
- Create a proxy for the specified bean.
- Type Parameters:
T - The type of the bean to create.- Parameters:
kernel - the kernel that the proxy should be created for.beanInterface - the bean type to create the proxy for.
- Returns:
- a new proxy for the specified bean.
supportsMxBeans
protected boolean supportsMxBeans()
getJMXServiceURL
protected JMXServiceURL getJMXServiceURL(KernelData kernel)
- Get the URI to which connections can be made to the
MBeanServer
of this JVM.
- Parameters:
kernel - the kernel that wishes to access the URI.
- Returns:
- a URI that can be used for connecting to the
MBeanServer
of this JVM.
createObjectName
public final ObjectName createObjectName(String instanceId,
Class<?> beanInterface,
String... extraNaming)
createMBeanQuery
public final ObjectName createMBeanQuery(String instanceId)
getBeanName
protected String getBeanName(Class<?> beanInterface)
createObjectName
protected ObjectName createObjectName(String instanceId,
String beanName,
boolean query,
String... extraNaming)
Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.