Skip to content
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

SOFABoot文档描述问题 #713

Open
huayangMr opened this issue Aug 24, 2021 · 2 comments
Open

SOFABoot文档描述问题 #713

huayangMr opened this issue Aug 24, 2021 · 2 comments

Comments

@huayangMr
Copy link

huayangMr commented Aug 24, 2021

Describe the bug

sofaboot使用文档中,模块隔离-JVM 服务发布与引用-Annotation 方式-提示,感觉描述不清楚影响使用
https://www.sofastack.tech/projects/sofa-boot/sofaboot-module/

@SofaService 的作用是将一个 Bean 发布成一个 JVM 服务,这意味着虽然你可以不用再写 sofa:service/ 的配置,但是还是需要事先将 @SofaService 所注解的类配置成一个 Spring Bean。

Suggest

在这里注明:配置方式必须是在META-INF/spring 下xml方式配置Bean或者在此处启用注解扫描模式
<!-- <bean id="publishImpl" class="com.makeid.makeid_user.service.PublishImpl" />-->
<context:component-scan base-package="com.makeid.makeid_user.service"/>

@seeflood
Copy link
Member

感谢反馈!您可以提交一个pull request么,把文档修改成您希望的样子~
在您想修改的页面,点编辑即可进入pull request提交页面
image

@seeflood
Copy link
Member

seeflood commented Aug 24, 2021

@alaneuler FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants