We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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使用文档中,模块隔离-JVM 服务发布与引用-Annotation 方式-提示,感觉描述不清楚影响使用 https://www.sofastack.tech/projects/sofa-boot/sofaboot-module/
@SofaService 的作用是将一个 Bean 发布成一个 JVM 服务,这意味着虽然你可以不用再写 sofa:service/ 的配置,但是还是需要事先将 @SofaService 所注解的类配置成一个 Spring Bean。
在这里注明:配置方式必须是在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"/>
<!-- <bean id="publishImpl" class="com.makeid.makeid_user.service.PublishImpl" />-->
<context:component-scan base-package="com.makeid.makeid_user.service"/>
The text was updated successfully, but these errors were encountered:
感谢反馈!您可以提交一个pull request么,把文档修改成您希望的样子~ 在您想修改的页面,点编辑即可进入pull request提交页面
Sorry, something went wrong.
@alaneuler FYI
No branches or pull requests
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"/>
The text was updated successfully, but these errors were encountered: