Search in sources :

Example 1 with RemoteChatHandler

use of io.druid.guice.annotations.RemoteChatHandler in project druid by druid-io.

the class ChatHandlerServerModule method getServer.

@Provides
@LazySingleton
@RemoteChatHandler
public Server getServer(Injector injector, Lifecycle lifecycle, @RemoteChatHandler DruidNode node, @RemoteChatHandler ServerConfig config) {
    final Server server = JettyServerModule.makeJettyServer(node, config);
    JettyServerModule.initializeServer(injector, lifecycle, server);
    return server;
}
Also used : Server(org.eclipse.jetty.server.Server) RemoteChatHandler(io.druid.guice.annotations.RemoteChatHandler) LazySingleton(io.druid.guice.LazySingleton) Provides(com.google.inject.Provides)

Aggregations

Provides (com.google.inject.Provides)1 LazySingleton (io.druid.guice.LazySingleton)1 RemoteChatHandler (io.druid.guice.annotations.RemoteChatHandler)1 Server (org.eclipse.jetty.server.Server)1