@ComponentScan(basePackageClasses=CoreConfiguration.class, nameGenerator=FqnAnnotationBeanNameGenerator.class, excludeFilters=) public class CoreConfiguration extends Object
@Component
.Modifier and Type | Field and Description |
---|---|
static int |
AUTO_CONFIGURE_ORDER |
Constructor and Description |
---|
CoreConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.springframework.core.convert.ConversionService |
conversionService(List<org.springframework.core.convert.converter.Converter<?,?>> converters) |
org.springframework.core.io.DefaultResourceLoader |
defaultResourceLoader() |
org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator |
getDefaultAdvisorAutoProxyCreator() |
HttpProxy |
httpProxy(String proxyHost,
int proxyPort,
String proxyUser,
String proxyPassword,
List<String> nonProxyHosts) |
Long |
implicitWaitTime(long implicitWaitTime) |
Locale |
locale(String language,
String country,
String variant) |
SimpleDateConverter |
simpleDateConverter(String dateFormatPattern,
Locale locale) |
SimpleLocalDateConverter |
simpleLocalDateConverter(String dateFormatPattern,
Locale locale) |
public static final int AUTO_CONFIGURE_ORDER
@Bean public Locale locale(@Value(value="${locale.language:#{null}}") String language, @Value(value="${locale.country:\'\'}") String country, @Value(value="${locale.variant:\'\'}") String variant)
language
- languagecountry
- countryvariant
- variant@Bean public Long implicitWaitTime(@Value(value="${implicitWaitTime:5000}") long implicitWaitTime)
implicitWaitTime
- implicitWaitTime@Bean public SimpleDateConverter simpleDateConverter(@Value(value="${dateformat:#{null}}") String dateFormatPattern, Locale locale)
dateFormatPattern
- dateFormatPatternlocale
- locale@Bean public SimpleLocalDateConverter simpleLocalDateConverter(@Value(value="${dateformat:#{null}}") String dateFormatPattern, Locale locale)
dateFormatPattern
- dateFormatPatternlocale
- locale@Bean public org.springframework.core.convert.ConversionService conversionService(List<org.springframework.core.convert.converter.Converter<?,?>> converters)
converters
- converters@Bean @ConditionalOnProperty(value="http.proxy.host") public HttpProxy httpProxy(@Value(value="${http.proxy.host:#{null}}") String proxyHost, @Value(value="${http.proxy.port:3128}") int proxyPort, @Value(value="${http.proxy.user:#{null}}") String proxyUser, @Value(value="${http.proxy.password:#{null}}") String proxyPassword, @Value(value="${http.proxy.nonproxyhosts:#{{}}}") List<String> nonProxyHosts)
proxyHost
- proxyHostproxyPort
- proxyPortproxyUser
- proxyUserproxyPassword
- proxyPasswordnonProxyHosts
- nonProxyHosts@Bean public org.springframework.core.io.DefaultResourceLoader defaultResourceLoader()
@Bean public org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator getDefaultAdvisorAutoProxyCreator()
Copyright © 2018–2021 b+m Informatik AG. All rights reserved.