Package org.elasticsearch.rest

Examples of org.elasticsearch.rest.RestModule


        modules.add(new NodeEnvironmentModule());
        modules.add(new ClusterNameModule(settings));
        modules.add(new ThreadPoolModule(settings));
        modules.add(new DiscoveryModule(settings));
        modules.add(new ClusterModule(settings));
        modules.add(new RestModule(settings));
        modules.add(new TransportModule(settings));
        if (settings.getAsBoolean("http.enabled", true)) {
            modules.add(new HttpServerModule(settings));
        }
        modules.add(new RiversModule(settings));
View Full Code Here


            modules.add(new NodeEnvironmentModule(nodeEnvironment));
            modules.add(new ClusterNameModule(settings));
            modules.add(new ThreadPoolModule(settings));
            modules.add(new DiscoveryModule(settings));
            modules.add(new ClusterModule(settings));
            modules.add(new RestModule(settings));
            modules.add(new TransportModule(settings));
            if (settings.getAsBoolean(HTTP_ENABLED, true)) {
                modules.add(new HttpServerModule(settings));
            }
            modules.add(new RiversModule(settings));
View Full Code Here

                new EnvironmentModule(new Environment(settings)),
                new IndicesAnalysisModule())
                .createInjector();    
       
        ActionModule actionModule = new ActionModule(true);
        RestModule restModule = new RestModule(settings);
       
        SkywalkerPlugin plugin = new SkywalkerPlugin();

        plugin.onModule(actionModule) ;
        plugin.onModule(restModule);
View Full Code Here

TOP

Related Classes of org.elasticsearch.rest.RestModule

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.