Package org.apache.slider.server.services.registry

Examples of org.apache.slider.server.services.registry.RegistryRestResources


    RegistryDiscoveryContext discoveryContext = curatorHelper
                                                        .createDiscoveryContext(
                                                          discovery);

    bind(RegistryDiscoveryContext.class).toInstance(discoveryContext);
    RegistryRestResources registryRestResources =
      new RegistryRestResources(discoveryContext, registry);
    bind(RegistryRestResources.class).toInstance(registryRestResources);

    route("/", SliderAMController.class);
    route(CONTAINER_STATS, SliderAMController.class, "containerStats");
    route(CLUSTER_SPEC, SliderAMController.class, "specification");
View Full Code Here


    RegistryDiscoveryContext discoveryContext = curatorHelper
                                                        .createDiscoveryContext(
                                                          discovery);

    bind(RegistryDiscoveryContext.class).toInstance(discoveryContext);
    RegistryRestResources registryRestResources =
      new RegistryRestResources(discoveryContext, registry);
    bind(RegistryRestResources.class).toInstance(registryRestResources);

    route("/", SliderAMController.class);
    route(CONTAINER_STATS, SliderAMController.class, "containerStats");
    route(CLUSTER_SPEC, SliderAMController.class, "specification");
View Full Code Here

TOP

Related Classes of org.apache.slider.server.services.registry.RegistryRestResources

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.