Categories
eclipse inversion-of-control java spring

How to observe the Application Context at runtime (while debugging)

I am debugging my Java Spring service and I get an @Autowired variable as null, when it shouldn’t be.

Since I have declared the service’s class as @Service, I want to double-check that my bean was scanned by Spring and included in the Application Context.

Therefore, I want to be able to observe in Eclipse the contents of the Application Context.

How is this possible?