disable proxy bean creation for performance reasons
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2018 Pivotal, Inc.
|
||||
* Copyright (c) 2018, 2019 Pivotal, Inc.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
@@ -38,7 +38,7 @@ import org.springframework.util.Assert;
|
||||
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@EnableConfigurationProperties(LanguageServerProperties.class)
|
||||
public class LanguageServerAutoConf {
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*******************************************************************************
|
||||
* Copyright (c) 2018 Pivotal, Inc.
|
||||
* Copyright (c) 2018, 2019 Pivotal, Inc.
|
||||
* All rights reserved. This program and the accompanying materials
|
||||
* are made available under the terms of the Eclipse Public License v1.0
|
||||
* which accompanies this distribution, and is available at
|
||||
@@ -17,7 +17,7 @@ import org.springframework.ide.vscode.commons.languageserver.LanguageServerRunne
|
||||
import org.springframework.ide.vscode.commons.languageserver.config.LanguageServerProperties;
|
||||
import org.springframework.ide.vscode.commons.languageserver.util.SimpleLanguageServer;
|
||||
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class LanguageServerRunnerAutoConf {
|
||||
|
||||
@Bean public LanguageServerRunner serverApp(
|
||||
|
||||
@@ -54,7 +54,7 @@ import org.springframework.ide.vscode.commons.yaml.structure.YamlDocument;
|
||||
import org.springframework.ide.vscode.commons.yaml.structure.YamlStructureProvider;
|
||||
import org.yaml.snakeyaml.Yaml;
|
||||
|
||||
@SpringBootApplication
|
||||
@SpringBootApplication(proxyBeanMethods = false)
|
||||
public class BootLanguagServerBootApp {
|
||||
private static final String SERVER_NAME = "boot-language-server";
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ import org.springframework.ide.vscode.boot.java.requestmapping.WebfluxRouterSymb
|
||||
import org.springframework.ide.vscode.boot.java.utils.RestrictedDefaultSymbolProvider;
|
||||
import org.springframework.ide.vscode.boot.java.utils.SymbolCache;
|
||||
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
public class SpringSymbolIndexerConfig {
|
||||
|
||||
@Bean
|
||||
|
||||
Reference in New Issue
Block a user