Skip to content

Conversation

joon6093
Copy link
Owner

@joon6093 joon6093 commented Jun 28, 2025

๐Ÿ”ง Refactoring

  • @Configuration ํด๋ž˜์Šค์˜ CGLIB ํ”„๋ก์‹œ ์ œ๊ฑฐ

  • ๋ถˆํ•„์š”ํ•œ Bean ๋“ฑ๋ก ์ œ๊ฑฐ

    • ๊ธฐ์กด์—๋Š” ApplicationTerminator๋ฅผ ์ง์ ‘ ๋นˆ์œผ๋กœ ๋“ฑ๋กํ•˜์˜€์œผ๋‚˜, ์™ธ๋ถ€์—์„œ ์ง์ ‘ ์‚ฌ์šฉํ•  ์ผ์ด ์—†๋Š” ๋‚ด๋ถ€ ๊ตฌํ˜„์ฒด์ด๋ฏ€๋กœ, ์ด๋ฅผ ์ œ๊ฑฐํ•˜๊ณ  SignalHandlerRegistrar๋ฅผ ๋“ฑ๋กํ•  ๋•Œ ์ง์ ‘ ์ƒ์„ฑํ•˜๋„๋ก ๋ณ€๊ฒฝํ•˜์˜€์Šต๋‹ˆ๋‹ค.
  • ApplicationRunner ๊ธฐ๋ฐ˜์œผ๋กœ Signal ํ•ธ๋“ค๋Ÿฌ ๋“ฑ๋ก ๋ฐฉ์‹ ๊ฐœ์„ 

    • ๊ธฐ์กด์—๋Š” @EventListener(ContextRefreshedEvent.class)๋ฅผ ํ™œ์šฉํ•˜์—ฌ Signal ํ•ธ๋“ค๋Ÿฌ๋ฅผ ๋“ฑ๋กํ•˜์˜€์œผ๋‚˜, ApplicationRunner ์ธํ„ฐํŽ˜์ด์Šค๋ฅผ ๊ตฌํ˜„ํ•˜๋Š” ๋ฐฉ์‹์œผ๋กœ ์ „ํ™˜ํ•˜์˜€์Šต๋‹ˆ๋‹ค.
    • ApplicationRunner๋Š” ์Šคํ”„๋ง ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์ด ์™„์ „ํžˆ ์ดˆ๊ธฐํ™”๋œ ํ›„ ์‹คํ–‰๋˜๋Š” ์ฝœ๋ฐฑ ์ธํ„ฐํŽ˜์ด์Šค์ด๋ฏ€๋กœ, ApplicationStartingEvent๋ฅผ ํ™œ์šฉํ•˜๋Š” ๋ฐฉ์‹๋ณด๋‹ค ApplicationRunner๊ฐ€ ์˜๋„์— ๋” ์ž˜ ๋ถ€ํ•ฉํ•œ๋‹ค๊ณ  ํŒ๋‹จํ•˜์˜€์Šต๋‹ˆ๋‹ค.

โค๏ธ Contributors

  • @joon6093

    ์ด๋ฒˆ ๋ฆด๋ฆฌ์Šค์— ๊ธฐ์—ฌํ•ด์ฃผ์‹  ๋ชจ๋“  ๋ถ„๋“ค๊ป˜ ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค!

@joon6093 joon6093 self-assigned this Jun 28, 2025
Copy link

Test Results

8 testsโ€‚โ€ƒโ€ƒ8 โœ…โ€ƒโ€ƒ50s โฑ๏ธ
5 suitesโ€ƒโ€ƒ0 ๐Ÿ’ค
5 filesโ€„โ€‚โ€ƒโ€ƒ0 โŒ

Results for commit 417f380.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant