解决 adxp-adapter 循环依赖的问题
This commit is contained in:
parent
78fc32db1c
commit
4edce9f7d6
@ -1,8 +1,6 @@
|
||||
package com.qaup.adxp.adapter.config;
|
||||
|
||||
import com.qaup.adxp.adapter.service.AdxpSdkService;
|
||||
import com.qaup.adxp.adapter.websocket.AdxpWebSocketHandler;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.socket.config.annotation.EnableWebSocket;
|
||||
@ -13,9 +11,6 @@ import org.springframework.web.socket.config.annotation.WebSocketHandlerRegistry
|
||||
@EnableWebSocket
|
||||
public class WebSocketConfig implements WebSocketConfigurer {
|
||||
|
||||
@Autowired
|
||||
private AdxpSdkService adxpSdkService;
|
||||
|
||||
@Bean
|
||||
public AdxpWebSocketHandler adxpWebSocketHandler() {
|
||||
return new AdxpWebSocketHandler();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user