スプリングコンテナにオブジェクトを追加する方法

1.Beanのアノテーション

2. コンポーネントのスキャン

おすすめ

転載: blog.csdn.net/shanyaodou/article/details/130051846