참고 글: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/context/event/EventListener.html 구조 파악하기 @EventListener를 사용하는 방법은 다음과 같다. EventPublisher @Component @RequiredArgsConstructor public class EventPublisher { private final ApplicationEventPublisher publisher; public void publish(PublicEvent event) { publisher.publishEvent(event); } } EventSubscriber @Componen..
JVM/Spring
2022. 10. 6. 15:51
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 백준
- thread
- 그래프
- DRF
- Python
- Pattern
- setattr
- ubuntu
- Celery
- Linux
- 알고리즘
- 카카오
- 면접
- Java
- BFS
- 2021 KAKAO BLIND RECRUITMENT
- 프로그래머스
- headers
- 자바
- postgres
- Collections
- django
- dockerignore
- docker
- env
- docker-compose
- 파이썬
- Command Line
- Spring
- PostgreSQL
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함