private void registerEndpointsBeans(final ApplicationContext context, final Map<String, Object> endpointBeans) {
        if (CollectionUtils.isEmpty(endpointBeans)) {
            return;
        }
        ShenyuServerEndpointerExporter exporter = (ShenyuServerEndpointerExporter) registerBean(context, ShenyuServerEndpointerExporter.class, "shenyuServerEndpointerExporter");
        for (Map.Entry<String, Object> entry : endpointBeans.entrySet()) {
            Class<?> clazz = getCorrectedClass(entry.getValue());
            exporter.registerEndpoint(clazz);
        }
    }
Instantiates a new Spring websocket client event listener.

@param clientConfig                   the client config
@param shenyuClientRegisterRepository the shenyu client register repository
shenyu-client/shenyu-client-websocket/shenyu-client-spring-websocket/src/main/java/org/apache/shenyu/client/spring/websocket/init/SpringWebSocketClientEventListener.java