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