forked from sunday-develop/toby-spring
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3장: 변하는 것과 변하지 않는 것 - DI적용을 위한 클라이언트/컨텍스트 분리
전략을 유동적으로 주입할 수 있게 메소드로 분리하자. deleteAll()메소드가 클라이언트 역할이 되고, 컨텍스트를 호출하는 책임을 맡게된다.
- Loading branch information
1 parent
f65d162
commit 1eda4e0
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters