Package io.jmix.autoconfigure.core
Class CoreAutoConfiguration
java.lang.Object
io.jmix.autoconfigure.core.CoreAutoConfiguration
@AutoConfiguration
@Import(CoreConfiguration.class)
@EnableConfigurationProperties(org.springframework.boot.autoconfigure.jmx.JmxProperties.class)
@AutoConfigureBefore({org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration.class,org.springframework.boot.autoconfigure.jmx.JmxAutoConfiguration.class})
public class CoreAutoConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.cors.CorsConfigurationSource
corsConfigurationSource
(CorsProperties corsProperties) A standard implementation ofCorsConfigurationSource
that takes most of its settings fromCorsProperties
.org.springframework.context.MessageSource
messageSource
(JmixModules modules, Resources resources) org.springframework.boot.autoconfigure.jmx.ParentAwareNamingStrategy
objectNamingStrategy
(org.springframework.boot.autoconfigure.jmx.JmxProperties properties) org.springframework.scripting.ScriptEvaluator
-
Constructor Details
-
CoreAutoConfiguration
public CoreAutoConfiguration()
-
-
Method Details
-
messageSource
@Bean @ConditionalOnMissingBean public org.springframework.context.MessageSource messageSource(JmixModules modules, Resources resources) -
scriptEvaluator
@Bean @ConditionalOnMissingBean(type="org.springframework.scripting.ScriptEvaluator") public org.springframework.scripting.ScriptEvaluator scriptEvaluator() -
objectNamingStrategy
@Bean @ConditionalOnMissingBean(value=org.springframework.jmx.export.naming.ObjectNamingStrategy.class, search=CURRENT) public org.springframework.boot.autoconfigure.jmx.ParentAwareNamingStrategy objectNamingStrategy(org.springframework.boot.autoconfigure.jmx.JmxProperties properties) -
corsConfigurationSource
@Bean @ConditionalOnMissingBean(name="corsConfigurationSource") public org.springframework.web.cors.CorsConfigurationSource corsConfigurationSource(CorsProperties corsProperties) A standard implementation ofCorsConfigurationSource
that takes most of its settings fromCorsProperties
.A bean with corsConfigurationSource is used by CorsFilter in Spring Security filter chain. Define a bean with the "corsConfigurationSource" name in the application if you want to override the standard implementation.
- See Also:
-
HttpSecurity.cors()
-