(실패, 뻘짓) 실행전에 @Service bean 변경하기 feat. BeanFactoryPostProcessor
Spring 개발중 @Service 를 interface 와 구현체(implements)로 나눠서 작성하는 이유는, 협업 One Source 로 개발하고, Build 에 따라 구현체를 변경 으로 생각한다. 아직까진 규모가 있는 프로젝트를 수행한적이 없다보니 1번보단 2번의 이유가 더 와닿는다. 아무튼 기존 Spring Boot 이전의 web.xml, application-context.xml 을 사용하던 시절의 Spring 에서, 일부러 @Service Annotation 을 사용하지 않고 context.xml 단에서 Class 를 bean 으로 주입하는 패턴을 종종 사용했는데, 이번에 Spring Boot 에서 해보려니까 골치가 아프다. 현재 시도중인것은 FileManager 를 Local Storag..
Back-End Framework/SpringBoot
2023. 7. 5. 15:55
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- AWS
- Waitawa Regional Park
- Spring
- express
- istio
- EnvironmentAware
- docker
- JPA
- Spring Cloud Config
- Murrays Bay
- kubernetes
- vue3
- nodejs
- github-actions
- Browns Bay
- GCP
- BannSang Korean
- Pinehill
- Cosseys Dam
- @Validated
- Hunua Falls
- Cloud SQL
- BeanFactoryPostProcessor
- k8s
- springboot
- jquery
- pinia
- auditing
- @Profile
- Specification
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |
글 보관함