#application-event
Posts
-
Digging into Spring's Source 12: Events, Environment, Resource — Three Abstractions Around the Container
The three things ApplicationContext adds on top of BeanFactory — events (publishing and listening), Environment (configuration values and profiles) and Resource (reading files and the class path) — explained for someone new to Spring, with where each one hooks into refresh(). The journey of one publishEvent call, why a system property beats a properties file, and where the "classpath:" prefix turns into a class, all checked against the real source and run as examples.