spring framework에서
A.class 를 spring에서 관리하는 bean으로 만들고
B.class 를 spring에서 관리하는 bean으로 만들고
C.class 를 spring에서 관리하는 bean으로 만듭니다.
A -> B -> C 형태로 DI한 경우에서, B를 계속 복사하고 싶습니다.
전부 Bean으로 생성되어있는 상태여서 스코프를 프로토타입으로 바꿔도 먹히지 않습니다.ㅠㅠㅠ
텍스트 포맷에 대한 자세한 정보
<code>
<blockcode>
<apache>
<applescript>
<autoconf>
<awk>
<bash>
<c>
<cpp>
<css>
<diff>
<drupal5>
<drupal6>
<gdb>
<html>
<html5>
<java>
<javascript>
<ldif>
<lua>
<make>
<mysql>
<perl>
<perl6>
<php>
<pgsql>
<proftpd>
<python>
<reg>
<spec>
<ruby>
<foo>
[foo]
댓글 달기