profile (1) 썸네일형 리스트형 Spring Profile, @Profile, @ActiveProfiles Profile 이란? Spring Profiles provide a way to segregate parts of your application configuration and make it only available in certain environments. Any @Component or @Configuration can be marked with @Profile to limit when it is loaded spring 공식 문서에서 설명하고 있는 profile이다. 스프링에서 사용하고 있는 설정을 분리할 수 있는 방법으로 @Profile을 통해 해당 코드를 특정 profile을 실행하는 경우에만 spring bean으로 등록될 수 있게 설정하는 것이다. 이를 이용해서 사용하는 Database .. 이전 1 다음