Quellcode durchsuchen

Disable Atmosphere annotation scanning (#15414)

Change-Id: I172a7c3a25b059cbddfae4d7b60d7019bed5fc58
tags/7.4.0.beta2
Artur Signell vor 9 Jahren
Ursprung
Commit
2346f36de5

+ 3
- 0
server/src/com/vaadin/server/communication/PushRequestHandler.java Datei anzeigen

@@ -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,

Laden…
Abbrechen
Speichern