-
Notifications
You must be signed in to change notification settings - Fork 792
Open
Description
7.3.2节
173页
NameRepository的注解层次问题,本身NameRepository是定义的仓储类,而不是注解了,下面的层次展示是不是不太准确。
改为下面表述比较好?
调整前:
NameRepository@StringRepository@Component
调整后:
NameRepository@StringRepository@Repository@Component
181页
NameRepository不应该有@吧,后面的Spring@Repository明显是写错了。
下方的表述中,是不是也有错误,应该是:
annotationClass应该是@StringRepository(和Debug结果一致)metaAnnotations注解数组仅获取当前注解@StringRepository所标注的注解StringRepository在2.5.6.SEC03中标注@Repository后
最下方的代码段,并非3.0.0.RELEASE中的实现,应该是3.2.x,AnnotationAttributesReadingVisitor.java的实现为
三个小版本还是有细微差别的,书中印刷的至少是3.2.x才有的
182页
中间的表述中,应该是:
结合@StringRepository进行分析
7.3.4节
199页
下方文字第二行,应该是因此Transactional.class也是AnnotatedElement对象,而不是Transactionalservice.class
如有理解错误,还请指正
Metadata
Metadata
Assignees
Labels
No labels