ListableBeanFactory
- public interface ListableBeanFactory extends BeanFactory
该接口中定义了可以获取配置中所有bean的信息。
- boolean containsBeanDefinition(String beanName);
-
- int getBeanDefinitionCount();
-
- String[] getBeanDefinitionNames();
-
- String[] getBeanNamesForType(Class type);
-
-
- String[] getBeanNamesForType(Class type, boolean includeNonSingletons, boolean allowEagerInit);
-
- Map getBeansOfType(Class type) throws BeansException;
ListableBeanFactory
原文:http://www.cnblogs.com/handsome1013/p/5944368.html