개발 기록기록📝

  • 홈
  • 태그
  • 방명록

@Autowired 1

[Spring] 의존관계 자동 주입(2/2) - @Autowired, @Qualifier, @Primary

의존성 주입을 위해 빈을 주입할 때 조회된 빈이 2개 이상일 경우가 있습니다. 다음과 같은 경우입니다. @Autowired는 빈의 타입으로 빈을 조회하는데, @Component public class FixDiscountPolicy implements Discountpolicy{} @Component public class RateDiscountPolicy implements DiscountPolicy {} 위와같이 DiscountPolicy 인터페이스를 FixDiscountPolicy와 RateDiscountPolicy가 구현하고 있을 경우 @Autowired private DiscountPolicy discountPolicy DiscountPolicy 타입으로 빈을 주입받으려고 하면 NoUniqueB..

Spring/스프링 핵심원리 기본편 2021.10.10
이전
1
다음
프로필사진

개발 기록기록📝

  • 분류 전체보기
    • Dart
    • Flutter
      • Flutter 에러 해결
      • Flutter 개발 기록
      • Flutter 정리
    • Javascript
      • 모던 자바스크립트 Deep Dive
      • 문법 정리
    • Front-End
      • 성능개선
      • Next.js
      • React
      • 프론트엔드 개발환경
    • Kafka
    • JPA
    • Algorithm 뽀개기
      • 프로그래머스
      • 알고리즘을 위한 문법
      • 알고리즘 정리
    • Spring
      • 스프링 핵심원리 기본편
    • Java
    • 개발삽질기
    • python
    • AWS
    • 성능 테스팅
    • Middleware
    • Linux
    • SQL
    • Network
    • Architecture
    • OS
    • Etc
    • 회고
    • 프로젝트
      • TMS

Tag

the ios deployment target 'iphoneos_deployment_target' is set to 9.0, 파이썬, 플러터 구조, failed to verify code signature of, 프로그래머스, windows kafka 에러, 플러터 아키텍처, 시간복잡도, ios/pods/target support files/pods-runner/pods-runner-resources.sh: permission denied command phasescriptexecution failed with a nonzero exit code, 플러터 클린아키텍처, JPA, framework 'pods_runner' not found, flutter architecture, the identity used to sign the executable is no longer valid, error shutdown broker because all log dirs in, but the range of supported deployment target versions is 12.0 to 17.5.99. (in target 'googledatatransport' from project 'pods'), please ensure that the certificates used to sign your app have not expired., log4j:error failed to rename, windows kafka, flutter plugin 개발,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

  2025. 05  
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.