GitLab wurde erfolgreich aktualisiert. Dank regelmäßiger Updates bleibt das THM GitLab sicher und Sie profitieren von den neuesten Funktionen. Danke für Ihre Geduld.

Commit 402bf375 authored by Daniel Gerhardt's avatar Daniel Gerhardt

Fix registration of Bean for socket event handling

Fixes a regression introduced by commit
parent dc06e767
......@@ -32,6 +32,7 @@ import de.thm.arsnova.persistance.couchdb.*;
import de.thm.arsnova.persistance.couchdb.InitializingCouchDbConnector;
import de.thm.arsnova.socket.ARSnovaSocket;
import de.thm.arsnova.socket.ARSnovaSocketIOServer;
import de.thm.arsnova.socket.ARSnovaSocketListener;
import de.thm.arsnova.web.CacheControlInterceptorHandler;
import de.thm.arsnova.web.CorsFilter;
import de.thm.arsnova.web.DeprecatedApiInterceptorHandler;
......@@ -270,6 +271,11 @@ public class AppConfig extends WebMvcConfigurerAdapter {
return socketServer;
public ARSnovaSocketListener arsnovaSocketListener() {
return new ARSnovaSocketListener();
public CacheManager cacheManager() {
return new ConcurrentMapCacheManager();
......@@ -21,13 +21,13 @@ import;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.ApplicationListener;
import org.springframework.stereotype.Service;
import org.springframework.stereotype.Component;
* An external Listener is required because otherwise the event methods are not called through a Spring proxy.
* This would result in Spring method annotations not working.
public class ARSnovaSocketListener implements ApplicationListener<NovaEvent> {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment