Just trying to figure out how Java annotations work under covers.
Seeing that spring uses annotations and scans the graph of objects for DI and AOP (reflection), I’m curious how everything works.
With spring, all search mappings, etc., performed at startup are displayed, so during spring, native internal mappings for DI / AOP / etc. are looked at. instead of scanning the entire graph of objects?
Performance is wise, if what I guess above is correct, does it basically perform a hash search?
source
share