Skip to content

Commit

Permalink
CODENVY-959: Get rid of WSocketEventBusClient (eclipse-che#3476)
Browse files Browse the repository at this point in the history
CODENVY-959: Get rid of WSocketEventBusClient
  • Loading branch information
Anatoliy Bazko authored Dec 23, 2016
1 parent 5a76ddd commit 4bc1484
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import org.eclipse.che.api.core.jsonrpc.RequestTransmitter;
import org.eclipse.che.api.core.jsonrpc.impl.WebSocketToJsonRpcDispatcher;
import org.eclipse.che.api.core.jsonrpc.impl.WebSocketTransmitter;
import org.eclipse.che.api.core.notification.WSocketEventBusClient;
import org.eclipse.che.api.core.rest.ApiInfoService;
import org.eclipse.che.api.core.rest.CoreRestModule;
import org.eclipse.che.api.core.util.FileCleaner.FileCleanerModule;
Expand Down Expand Up @@ -77,7 +76,6 @@ protected void configure() {

bind(URI.class).annotatedWith(Names.named("che.api")).toProvider(UriApiEndpointProvider.class);
bind(String.class).annotatedWith(Names.named("user.token")).toProvider(UserTokenProvider.class);
bind(WSocketEventBusClient.class).asEagerSingleton();

bind(String.class).annotatedWith(Names.named("event.bus.url")).toProvider(EventBusURLProvider.class);
bind(ApiEndpointAccessibilityChecker.class);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,18 @@
*******************************************************************************/
package org.eclipse.che.api.core.notification;

import org.eclipse.che.commons.lang.concurrent.LoggingUncaughtExceptionHandler;
import org.eclipse.che.commons.lang.Pair;

import com.google.common.util.concurrent.ThreadFactoryBuilder;

import org.eclipse.che.commons.annotation.Nullable;
import org.eclipse.che.commons.lang.Pair;
import org.eclipse.che.commons.lang.concurrent.LoggingUncaughtExceptionHandler;
import org.everrest.websockets.client.BaseClientMessageListener;
import org.everrest.websockets.client.WSClient;
import org.everrest.websockets.message.JsonMessageConverter;
import org.everrest.websockets.message.RestOutputMessage;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import org.eclipse.che.commons.annotation.Nullable;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import javax.inject.Inject;
Expand Down

0 comments on commit 4bc1484

Please sign in to comment.