Просмотр исходного кода

Disable Atmosphere annotation scanning (#15414)

Change-Id: I172a7c3a25b059cbddfae4d7b60d7019bed5fc58
tags/7.4.0.beta2
Artur Signell 9 лет назад
Родитель
Сommit
2346f36de5
1 измененных файлов: 3 добавлений и 0 удалений
  1. 3
    0
      server/src/com/vaadin/server/communication/PushRequestHandler.java

+ 3
- 0
server/src/com/vaadin/server/communication/PushRequestHandler.java Просмотреть файл

@@ -29,6 +29,7 @@ import org.atmosphere.cpr.AtmosphereInterceptor;
import org.atmosphere.cpr.AtmosphereRequest;
import org.atmosphere.cpr.AtmosphereResponse;
import org.atmosphere.interceptor.HeartbeatInterceptor;
import org.atmosphere.util.VoidAnnotationProcessor;

import com.vaadin.server.RequestHandler;
import com.vaadin.server.ServiceDestroyEvent;
@@ -91,6 +92,8 @@ public class PushRequestHandler implements RequestHandler,
atmosphere.addAtmosphereHandler("/*", pushHandler.handler);
atmosphere.addInitParameter(ApplicationConfig.BROADCASTER_CACHE,
UUIDBroadcasterCache.class.getName());
atmosphere.addInitParameter(ApplicationConfig.ANNOTATION_PROCESSOR,
VoidAnnotationProcessor.class.getName());
atmosphere.addInitParameter(ApplicationConfig.PROPERTY_SESSION_SUPPORT,
"true");
atmosphere.addInitParameter(ApplicationConfig.MESSAGE_DELIMITER,

Загрузка…
Отмена
Сохранить