package Ġcom . example . spring . boot . web . spring . application . event . listener Ċ Ċ import Ġorg . springframework . boot . context . event . ApplicationContext Initialized Event Ċ import Ġorg . springframework . context . Application Listener Ċ Ċ /** Ċ Ġ* Ġ ãĤ¢ãĥĹãĥª èµ· åĭķ ä¸Ń ãģ« çĻº çģ« ãģĻãĤĭ ãĤ¤ ãĥĻ ãĥ³ãĥĪ Ċ Ġ* ĠApplication Context Initial izers ãĤ³ ãĥ¼ãĥ« æĻĤ ãĤ¤ ãĥĻ ãĥ³ãĥĪ ( Bean ãĥŃ ãĥ¼ãĥī åīį ) Ċ Ġ*/ Ċ class ĠMy ApplicationContext Initialized EventListener Ġ: ĠApplication Listener < ApplicationContext Initialized Event > Ġ{ ĊĠĠĠ Ġoverride Ġfun Ġon Application Event ( event : ĠApplication Context Initialized Event ) Ġ= Ġprintln (" Application ĠContext ĠInitialized ĠEvent ") Ċ } Ċ