@Autowired
withを使用する場合、デフォルトの Bean スコープがシングルトンであることはわかっています@Component
。
しかし、JSR-330@Inject
を spring で@Component
( @Scope
orを使用せずに@Singleton
) 使用するとどうなるでしょうか。
@Autowired
withを使用する場合、デフォルトの Bean スコープがシングルトンであることはわかっています@Component
。
しかし、JSR-330@Inject
を spring で@Component
( @Scope
orを使用せずに@Singleton
) 使用するとどうなるでしょうか。