問題タブ [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.

0 投票する
1 に答える
215 参照

spring - @Component で @Inject を使用する場合、デフォルトの Bean スコープは何ですか?

@Autowiredwithを使用する場合、デフォルトの Bean スコープがシングルトンであることはわかっています@Component

しかし、JSR-330@Injectを spring で@Component( @Scopeorを使用せずに@Singleton) 使用するとどうなるでしょうか。