-
Notifications
You must be signed in to change notification settings - Fork 794
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
7.3节问题 #90
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
如有理解错误,还请指正
The text was updated successfully, but these errors were encountered: