2015-10-07 36 views

回答

0

好像3.2.9不處理@Order爲@Autowired集合,但金正日非常簡單實現通過@PostConstruct此功能(或#的InitializingBean的afterPropertiesSet())方法:

Collections.sort(myCollection, AnnotationAwareOrderComparator.INSTANCE);