@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(