강의

멘토링

커뮤니티

Inflearn Community Q&A

corojoon930489's profile image
corojoon930489

asked

Spring Core Principles - Basic Edition

Prototype Scope - Problems when used with Singleton Bean

PrototypeBean을 요청하는 시점

Written on

·

224

0

@Autowired
private Provider<PrototypeBean> prototypeBeanProvider;

@Autowired 의 동작이 getBean 과 유사하다고 생각하고, 이 때 ProtoTypeBean 을 요청한다고 보면되나요?

springoop

Answer 2

1

corojoon930489님의 프로필 이미지
corojoon930489
Questioner

감사합니다. 강의 잘 들었습니다.

1

yh님의 프로필 이미지
yh
Instructor

안녕하세요. 호춘님^^

네 맞습니다^^ 딱 좋은 비유네요 ㅎㅎ

corojoon930489's profile image
corojoon930489

asked

Ask a question