Get all loaded beans¶
Get all loaded beans with Class Type Information¶
Using ApplicationContext to get all loaded beans¶
- Use
ApplicationContext.getBeanDefinitionNames()
to find the name of all loaded beans - Use
ApplicationContext.getBean(beanName)
to get bean including its runtime type information.
Results¶
BeanController