public void test() throws Exception {
parser("context.xml");
}
private void parser(String path) throws Exception {
List<ReconfigBeanDefinitionHolder> holders = new BeanDefinitionReader().load(new ClassPathResource(
path));
for (ReconfigBeanDefinitionHolder holder : holders) {
System.out.println(holder);
}
}