문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
springframework:springboot:autoconfigure [2018/07/25 20:35] kwon37xi |
springframework:springboot:autoconfigure [2021/08/20 09:56] (현재) kwon37xi |
||
|---|---|---|---|
| 줄 3: | 줄 3: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | |||
| + | ===== Auto Configuration exclude ===== | ||
| + | * [[https:// | ||
| + | * [[https:// | ||
| + | * [[http:// | ||
| + | * '' | ||
| + | spring: | ||
| + | autoconfigure: | ||
| + | exclude: | ||
| + | - org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration | ||
| + | - org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration | ||
| + | </ | ||
| + | * 혹은, '' | ||
| + | @SpringBootApplication( | ||
| + | exclude = { RedisAutoConfiguration.class, | ||
| + | ) | ||
| + | // 문자열로. FQCN 이 아니어도 되는지 여부 확인 필요. | ||
| + | @SpringBootApplication( | ||
| + | excludeName = { " | ||
| + | ) | ||
| + | </ | ||
| + | |||
| + | ===== @AutoConfigurationAfter, | ||
| + | * 특정 Auto Configuration 실행 전후에 할 설정임을 마킹. | ||
| + | |||
| + | <code java> | ||
| + | @Configuration | ||
| + | @AutoConfigureBefore(JacksonAutoConfiguration.class) | ||
| + | public class SpringAutoConfiguration { | ||
| + | } | ||
| + | </ | ||
| ===== Custom Starter ===== | ===== Custom Starter ===== | ||
| 줄 8: | 줄 39: | ||
| * [[https:// | * [[https:// | ||
| + | ===== 참조 ===== | ||
| + | * [[https:// | ||