@Configuration @EnableConfigurationProperties(value=EntityProperties.class) @ImportAutoConfiguration(value=EntityFactoryInitConfiguration.class) public class HswebAutoConfiguration extends Object
| 构造器和说明 |
|---|
HswebAutoConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.hswebframework.web.ApplicationContextHolder |
applicationContextHolder() |
AuthorizationArgumentResolver |
authorizationArgumentResolver() |
EntityFactoryInitConfiguration |
entityFactoryInitConfiguration() |
FastJsonGenericHttpMessageConverter |
fastJsonGenericHttpMessageConverter(org.hswebframework.web.commons.entity.factory.EntityFactory entityFactory) |
FastJsonHttpMessageConverter |
fastJsonHttpMessageConverter() |
JsonParamResolver |
jsonParamResolver(FastJsonGenericHttpMessageConverter fastJsonHttpMessageConverter) |
org.hswebframework.web.validator.LogicPrimaryKeyValidator |
logicPrimaryKeyValidator() |
org.hswebframework.web.commons.entity.factory.MapperEntityFactory |
mapperEntityFactory() |
RestControllerExceptionTranslator |
restControllerExceptionTranslator() |
org.springframework.web.servlet.config.annotation.WebMvcConfigurer |
webMvcConfigurer(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> handlerMethodArgumentResolvers) |
@Bean @Primary @ConfigurationProperties(prefix="fastjson") public FastJsonHttpMessageConverter fastJsonHttpMessageConverter()
@Bean @Primary @ConfigurationProperties(prefix="fastjson") public FastJsonGenericHttpMessageConverter fastJsonGenericHttpMessageConverter(org.hswebframework.web.commons.entity.factory.EntityFactory entityFactory)
@Bean public JsonParamResolver jsonParamResolver(FastJsonGenericHttpMessageConverter fastJsonHttpMessageConverter)
@Bean public AuthorizationArgumentResolver authorizationArgumentResolver()
@Bean public org.springframework.web.servlet.config.annotation.WebMvcConfigurer webMvcConfigurer(List<org.springframework.web.method.support.HandlerMethodArgumentResolver> handlerMethodArgumentResolvers)
@Bean(name="entityFactory") @ConditionalOnMissingBean(value=org.hswebframework.web.commons.entity.factory.EntityFactory.class) public org.hswebframework.web.commons.entity.factory.MapperEntityFactory mapperEntityFactory()
@Bean @ConditionalOnMissingBean(value=org.hswebframework.web.validator.LogicPrimaryKeyValidator.class) public org.hswebframework.web.validator.LogicPrimaryKeyValidator logicPrimaryKeyValidator()
@Bean @ConditionalOnBean(value=org.hswebframework.web.commons.entity.factory.MapperEntityFactory.class) public EntityFactoryInitConfiguration entityFactoryInitConfiguration()
@Bean public org.hswebframework.web.ApplicationContextHolder applicationContextHolder()
@Bean public RestControllerExceptionTranslator restControllerExceptionTranslator()
Copyright © 2018. All rights reserved.