开发者社区> 问答> 正文

在 Spring 生态中玩转 RocketMQ中春波特为什么建议声明成 static 的?

在 Spring 生态中玩转 RocketMQ中春波特为什么建议声明成 static 的?

展开
收起
vncamyi27xznk 2021-11-11 10:29:11 358 0
1 条回答
写回答
取消 提交回答
  • "英文原文: If they don't we basically register the post-processor at the same ""time"" as all the other beans in that class and the contract of BPP is that it must be registered very early on. This may not make a difference for this particular class but flagging it as static as the side effect to make clear your BPP implementation is not supposed to drag other beans via dependency injection. 这本电子书收录开发者藏经阁,下载连接:https://developer.aliyun.com/topic/download?id=1216"

    2021-11-11 18:47:56
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
云栖社区特邀专家徐雷Java Spring Boot开发实战系列课程(第20讲):经典面试题与阿里等名企内部招聘求职面试技巧 立即下载
微服务架构模式与原理Spring Cloud开发实战 立即下载
阿里特邀专家徐雷Java Spring Boot开发实战系列课程(第18讲):制作Java Docker镜像与推送到DockerHub和阿里云Docker仓库 立即下载