We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95e4886 commit c515fa3Copy full SHA for c515fa3
src/java/org/tensorics/core/starter/TensoricsCoreDefaultConfiguration.java
@@ -6,6 +6,7 @@
6
7
import java.util.List;
8
9
+import org.springframework.beans.factory.annotation.Autowired;
10
import org.springframework.context.annotation.Bean;
11
import org.springframework.context.annotation.Configuration;
12
import org.tensorics.core.resolve.engine.ResolvingEngine;
@@ -15,8 +16,11 @@
15
16
@Configuration
17
public class TensoricsCoreDefaultConfiguration {
18
19
+ @Autowired
20
+ private List<Resolver<?, ?>> resolvers;
21
+
22
@Bean
- public ResolvingEngine resolvingEngine(List<Resolver<?, ?>> resolvers) {
23
+ public ResolvingEngine resolvingEngine() {
24
return ResolvingEngines.defaultEngineWithAdditional(resolvers.stream().toArray(Resolver[]::new));
25
}
26
0 commit comments