> For the complete documentation index, see [llms.txt](https://hyune.gitbook.io/hyune-wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hyune.gitbook.io/hyune-wiki/legacy/study/book-and-online-class/effective-java/2/2-2.md).

# 아이템 3. private 생성자나 열거 타입으로 싱글턴임을 보증하라

* lazy holder 구현으로 성능도 잡을 수 있다.
  * <https://en.wikipedia.org/wiki/Initialization-on-demand_holder_idiom>
* 하지만 Spring 에서는 보통 Bean 으로 사용하기에 신경쓰지 않는다.
