ConfigurationProperties outside of spring-boot

KramKroc

Is it possible to make us of @ConfigurationProperties behaviour for a non-Spring Boot application? To explain a bit clearer, I've a library module that in future I would like to use in a non-spring boot environment so I wondered if ConfigurationProperties could be utilised without bringing in a large bunch of spring-boot core dependencies.

KramKroc

It looks like you need spring-boot-stater to pull in the configuration, so I guess no is the answer :D

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Spring boot @ConfigurationProperties not loaded

Spring Boot not loading @ConfigurationProperties

Spring Boot - nesting ConfigurationProperties

Spring Boot ConfigurationProperties issues

Spring boot @ConfigurationProperties not working

Kotlin & Spring Boot @ConfigurationProperties

Spring Boot @ConfigurationProperties

Kotlin Spring boot @ConfigurationProperties for list

Spring Boot 1.5 validated ConfigurationProperties

Spring Boot @ConfigurationProperties - Change property key

Spring Boot can't autowire @ConfigurationProperties

How to mock class with @ConfigurationProperties in Spring Boot

Working with @ConfigurationProperties in a non Spring-Boot application

Spring Boot Test @ConfigurationProperties does not bind fields

Spring boot. The profit of using @ConfigurationProperties annotation

Spring Boot @ConfigurationProperties not retrieving properties from Environment

logging.*'s @ConfigurationProperties in spring-boot

Spring boot ConfigurationProperties - Inject a TreeMap with a comparator

Kotlin with Spring Boot 2.0 @ConfigurationProperties not working

Spring Boot: Multiple similar ConfigurationProperties with different Prefixes

Spring Boot : How to get program args with ConfigurationProperties

Spring Boot Datasource annotated with ConfigurationProperties but the properties are not loaded

Spring Boot Configuration class cannot wire ConfigurationProperties at runtime

@ConfigurationProperties Spring Boot Configuration Annotation Processor not found in classpath

@ConfigurationProperties Spring Boot Configuration Annotation Processor not found in classpath

How to configure a custom source to feed Spring Boot's @ConfigurationProperties

Is there a best practice in Spring Boot to log a properties bean annotated with @ConfigurationProperties?

Programatically convert yaml string to ConfigurationProperties with Spring Boot 2

How to configure for Spring Boot Configuration Annotation Processor using @ConfigurationProperties on IntelliJ?