https://spring.io/
별로 좋아하진 않지만... 결국 먹고사니즘이구만.. --2021-10-08
spring.profiles.activeJAVA_OPTS=-Dspring.profiles.active=prd
SPRING_PROFILES_ACTIVE=prd@Value("${spring.profiles.active}") String springProfilesActive
여러 방법이 있다..
현업에서는 Field Injection을 제일 많이 쓰는듯.. Constructor Injection만 쓰기로 한다. 나머지는 다 없어졌으면...