Package org.neo4j.kernel.management

Examples of org.neo4j.kernel.management.Kernel


    @Path( KERNEL_NAME_PATH )
    public Response currentKernelInstance() throws DatabaseBlockedException
    {
        if ( DatabaseLocator.isLocalDatabase() )
        {
            Kernel kernelBean = ( (EmbeddedGraphDatabase) getGraphDatabase() ).getManagementBean( Kernel.class );
            return addHeaders(
                    Response.ok( "\"" + kernelBean.getMBeanQuery().toString()
                                 + "\"", JsonRenderers.DEFAULT.getMediaType() ) ).build();
        }
        else
        {
            return addHeaders(
View Full Code Here

TOP

Related Classes of org.neo4j.kernel.management.Kernel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.