DefaultCalendarService.java 文件源码

java
阅读 23 收藏 0 点赞 0 评论 0

项目:Spring-Security-Third-Edition 作者:
@Autowired
    public DefaultCalendarService(final EventDao eventDao,
                                  final CalendarUserDao userDao,
                                  final CalendarUserRepository userRepository
//                                  final PasswordEncoder passwordEncoder
    ) {
        if (eventDao == null) {
            throw new IllegalArgumentException("eventDao cannot be null");
        }
        if (userDao == null) {
            throw new IllegalArgumentException("userDao cannot be null");
        }
        if (userRepository == null) {
            throw new IllegalArgumentException("userRepository cannot be null");
        }
//        if (passwordEncoder == null) {
//            throw new IllegalArgumentException("passwordEncoder cannot be null");
//        }
        this.eventDao = eventDao;
        this.userDao = userDao;
//        this.passwordEncoder = passwordEncoder;
    }
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号