Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- intellij 즐겨찾기
- 백명석님
- vue.js
- java
- ksql
- 친절한 SQL 튜닝
- 리팩토링 2판
- ksqldb
- 자바 ORM 표준 JPA 프로그래밍 정리
- intellij 핵심 단축키
- #docker compose
- multipart테스트
- 마이크로 서비스
- aws
- @Transactional Propagation
- Linux
- @TransactionalEventListener
- 리눅스
- findTopBy
- HandlerMethodArgumentResolver
- git
- 원격 브랜 삭제
- CompletableFuture
- Stream
- IntelliJ
- javascript case
- 자바 ORM 표준 JPA 프로그래밍
- Spring Cloud Netflix
- JPA
- intellij favorites
Archives
- Today
- Total
목록싱글톤패턴 (1)
시그마 삽질==six 시그마
싱글톤 패턴(Singleton Pattern)
public class SingleExample { private static SingleExample singleton = new SingleExample(); private SingleExample() { } public static SingleExample getInstance() { return singleton; } } 한개의 인스턴스를 생성해서 전역적으로 공유해서 사용하는 패턴임 1. private static 멤버변수 객체 생성 2. private 생성자 3. static method를 통해 가져옴 필요시 생성하고 싶다면 이렇게.. public class SingleExample { private SingleExample() { } public static class SingletonBuil..
프로그래밍/디자인패턴
2020. 4. 23. 23:05