재담이의 끄적끄적

  • 홈
  • 태그
  • 방명록

cglib 1

[Spring] 자바 설정 빈 객체 생성 방법

우선 다음 코드를 보자. @Configuration public class Config { @Bean public UserRepository userRepository() { ... } @Bean public PasswordChangeService pwChangeSvc() { return new PasswordChangeService(userRepository()); } @Bean public AuthenticationService authenticationService() { AuthenticationService authSvc = new AuthenticationService(); authSvc.setUserRepository(userRepository()); return authSvc; } // 이..

Spring 2022.02.10
이전
1
다음
더보기
  • 분류 전체보기 (156)
    • Spring (43)
    • Java (14)
    • 알고리즘 (72)
      • BOJ (67)
      • 프로그래머스 (4)
    • 보안 (2)
    • 객체지향 (11)
    • 웹개발 (5)
    • 운영체제 (4)
    • 데이터베이스 (3)
    • 네트워크 (2)
    • 수학 (0)

Tag

객체지향, java, 자바, SpringMVC, 스택, BFS, 백준, 스프링, Spring, 디자인패턴, AOP, 정렬, bean, SpringDB, DP, 스프링MVC, 알고리즘, C++, 빈, boj,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2026/01   »
일 월 화 수 목 금 토
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.

티스토리툴바