問題タブ [jsr330]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
62 問題
0
投票する
1
に答える
215
参照
spring - @Component で @Inject を使用する場合、デフォルトの Bean スコープは何ですか?
@Autowired
withを使用する場合、デフォルトの Bean スコープがシングルトンであることはわかっています@Component
。
しかし、JSR-330@Inject
を spring で@Component
( @Scope
orを使用せずに@Singleton
) 使用するとどうなるでしょうか。