In a java-spring web-app I would like to be able to dynamically inject beans. For example I have an interface …
java spring polymorphism spring-environmentIn spring JavaConfig, I can define property source and inject into Environment @PropertySource("classpath:application.properties") @Inject private Environment environment; …
java spring properties spring-environmentI'm trying to use a constant to define a property and then resolving it with the @Value annotation. I defined …
spring spring-boot spring-el spring-environment