0
A
回答
0
好像3.2.9不處理@Order爲@Autowired集合,但金正日非常簡單實現通過@PostConstruct此功能(或#的InitializingBean的afterPropertiesSet())方法:
Collections.sort(myCollection, AnnotationAwareOrderComparator.INSTANCE);
相關問題
- 1. R/VennDiagram中集合的手動訂購
- 2. 保持收集訂購
- 3. Spring集成支持不合格服務
- 4. 貝寶支付月度訂購自動
- 5. 訂購集合和關係集合laravel
- 6. 以DESC訂購集合
- 7. Laravel集合 - 結果訂購
- 8. 訂購嵌套集合
- 9. 訂購,目前僅支持PRIMARY KEY
- 10. Android動畫布局訂購
- 11. Spring集成聚合器與發佈訂閱者相結合
- 12. 訂購一個Symfony2的集合
- 13. 基於DateTime的已訂購集合
- 14. 訂購集合中的字段_
- 15. 由協會的財產訂購集合
- 16. 數組對象的訂購集合
- 17. Spring的自動佈線服務
- 18. Spring:沒有找到符合自動佈線的匹配bean
- 19. Java集訂購
- 20. 支持Drools的彈簧集成(不是基本的Spring)支持
- 21. 自動增量訂購
- 22. 默認taskScheduler Bean - Spring集成2.2.0與Spring 3.2.9的Vs 3.0.2
- 23. Java:根據子類型訂購集合
- 24. Nhibernate標準查詢 - 訂購集合
- 25. NHibernate:通過ID集合訂購結果
- 26. 流利Nhibernate訂購,在集合
- 27. 如何使用Linq訂購集合物?
- 28. 測試集合與訂購相等
- 29. 測試一個訂購集合
- 30. 自動RTL支持佈局問題Android