org.neo4j.management.impl
Class KernelProxy

java.lang.Object
  extended by org.neo4j.management.impl.KernelProxy
Direct Known Subclasses:
Neo4jManager

public abstract class KernelProxy
extends Object

Does not have any public methods - since the public interface of Neo4jManager should be defined completely in that class. Does not have any (direct or transitive) dependencies on any part of the jmx component - since this class is used in the JConsole plugin, and the jmx component is not on the class path in JConsole.

Author:
Tobias Ivarsson

Field Summary
protected  ObjectName kernel
           
protected static String KERNEL_BEAN_NAME
           
protected  MBeanServerConnection server
           
 
Constructor Summary
protected KernelProxy(MBeanServerConnection server, ObjectName kernel)
           
 
Method Summary
protected  List<Object> allBeans()
           
protected  ObjectName createObjectName(String beanName)
           
protected static ObjectName createObjectName(String kernelIdentifier, Class<?> beanInterface)
           
protected static ObjectName createObjectName(String kernelIdentifier, String beanName, String... extraNaming)
           
protected
<T> T
getBean(Class<T> beanInterface)
           
protected
<T> Collection<T>
getBeans(Class<T> beanInterface)
           
protected  ObjectName mbeanQuery()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KERNEL_BEAN_NAME

protected static final String KERNEL_BEAN_NAME
See Also:
Constant Field Values

server

protected final MBeanServerConnection server

kernel

protected final ObjectName kernel
Constructor Detail

KernelProxy

protected KernelProxy(MBeanServerConnection server,
                      ObjectName kernel)
Method Detail

allBeans

protected List<Object> allBeans()

getBean

protected <T> T getBean(Class<T> beanInterface)

getBeans

protected <T> Collection<T> getBeans(Class<T> beanInterface)

createObjectName

protected ObjectName createObjectName(String beanName)

mbeanQuery

protected ObjectName mbeanQuery()

createObjectName

protected static ObjectName createObjectName(String kernelIdentifier,
                                             Class<?> beanInterface)

createObjectName

protected static ObjectName createObjectName(String kernelIdentifier,
                                             String beanName,
                                             String... extraNaming)


Copyright © 2002-2012 The Neo4j Graph Database Project. All Rights Reserved.