@Configuration
@AutoConfigureBefore(value={org.apache.cxf.spring.boot.autoconfigure.CxfAutoConfiguration.class,JaxRsServerAutoConfiguration.class,JaxRsClientAutoConfiguration.class})
@PropertySource(value="classpath:/META-INF/net/n2oapp/platform/jaxrs/default.properties")
public class JaxRsCommonAutoConfiguration
extends Object
| Constructor and Description |
|---|
JaxRsCommonAutoConfiguration(List<MapperConfigurer> mapperConfigurers) |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.ObjectMapper |
cxfObjectMapper() |
TypedParamConverter<Date> |
dateParameterConverter() |
TypedParamConverter<LocalDateTime> |
localDateTimeParameterConverter() |
TypedParamConverter<org.springframework.data.domain.Sort.Order> |
orderParamConverter() |
SeekPivotParameterConverter |
seekPivotParameterConverter() |
TypedParamConverter<org.springframework.data.domain.Sort> |
sortParamConverter() |
TypedParamConverter<ZonedDateTime> |
zonedDateTimeTypedParamConverter() |
public JaxRsCommonAutoConfiguration(@Autowired(required=false)
List<MapperConfigurer> mapperConfigurers)
@ConditionalOnMissingBean(name="cxfObjectMapper") @Primary @Bean(value="cxfObjectMapper") public com.fasterxml.jackson.databind.ObjectMapper cxfObjectMapper()
@Bean @Conditional(value=MissingGenericBean.class) public TypedParamConverter<Date> dateParameterConverter()
@Bean @Conditional(value=MissingGenericBean.class) public TypedParamConverter<LocalDateTime> localDateTimeParameterConverter()
@Bean public TypedParamConverter<org.springframework.data.domain.Sort.Order> orderParamConverter()
@Bean public TypedParamConverter<org.springframework.data.domain.Sort> sortParamConverter()
@Bean @Conditional(value=MissingGenericBean.class) public TypedParamConverter<ZonedDateTime> zonedDateTimeTypedParamConverter()
@Bean @ConditionalOnClass(name="net.n2oapp.platform.seek.SeekableRepository") public SeekPivotParameterConverter seekPivotParameterConverter()
Copyright © 2022 I-Novus LLC. All rights reserved.