Package org.neo4j.webadmin.domain

Examples of org.neo4j.webadmin.domain.JmxDomainListRepresentation


    @Path( DOMAINS_PATH )
    public Response listDomains() throws NullPointerException
    {

        MBeanServer server = ManagementFactory.getPlatformMBeanServer();
        String entity = JsonRenderers.DEFAULT.render( new JmxDomainListRepresentation(
                server.getDomains() ) );

        return addHeaders(
                Response.ok( entity, JsonRenderers.DEFAULT.getMediaType() ) ).build();
View Full Code Here

TOP

Related Classes of org.neo4j.webadmin.domain.JmxDomainListRepresentation

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.