Inflearn Community Q&A
메서드 구조 문의
Written on
·
159
0
안녕하세요.
강의 내용에 벗어난 질문인데.. 궁금해서 드립니다.
일반적인 메서드 코딩 보면 아래와 같은 형태인데요.
public AuthenticationManager authenticationManagerBean() throws Exception {
return super.authenticationManagerBean();
}
오픈소스를 보면 이처럼 코딩되어 있더라고요.
public <T extends UserDetailsService> DaoAuthenticationConfigurer<AuthenticationManagerBuilder, T> userDetailsService(T userDetailsService) throws Exception {
return;
}
<T extends UserDetailsService> DaoAuthenticationConfigurer<AuthenticationManagerBuilder, T>
이부분 전체가 userDetailsService 메서드 return type 이고
<T extends UserDetailsService> 는DaoAuthenticationConfigurer 의 return type인가요?
oopjava
Answer
This question is waiting for answers
Be the first to answer!





