{"id":5094,"date":"2024-08-01T22:48:01","date_gmt":"2024-08-01T14:48:01","guid":{"rendered":"https:\/\/xinchewhd.com.cn\/?p=5094"},"modified":"2024-08-01T22:48:01","modified_gmt":"2024-08-01T14:48:01","slug":"%e4%b8%80%e5%bc%a0%e9%95%bf%e5%9b%be%e9%80%8f%e5%bd%bb%e7%90%86%e8%a7%a3-springboot-%e5%90%af%e5%8a%a8%e5%8e%9f%e7%90%86%ef%bc%8c%e8%bd%bb%e6%9d%be%e6%90%9e%e5%ae%9a%e9%9d%a2%e8%af%95%ef%bc%81","status":"publish","type":"post","link":"https:\/\/xinchewhd.com.cn\/index.php\/spring-boot\/%e4%b8%80%e5%bc%a0%e9%95%bf%e5%9b%be%e9%80%8f%e5%bd%bb%e7%90%86%e8%a7%a3-springboot-%e5%90%af%e5%8a%a8%e5%8e%9f%e7%90%86%ef%bc%8c%e8%bd%bb%e6%9d%be%e6%90%9e%e5%ae%9a%e9%9d%a2%e8%af%95%ef%bc%81\/","title":{"rendered":"\u4e00\u5f20\u957f\u56fe\u900f\u5f7b\u7406\u89e3 SpringBoot \u542f\u52a8\u539f\u7406\uff0c\u8f7b\u677e\u641e\u5b9a\u9762\u8bd5\uff01"},"content":{"rendered":"<div class='wxsyncmain'>\n<p style=\"margin-bottom: 0px;text-wrap: wrap;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.544px;color: rgb(34, 34, 34);background-color: rgb(255, 255, 255);visibility: visible;\" data-mpa-powered-by=\"yiban.io\"><span style=\"font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"outline: 0px;font-size: 18px;letter-spacing: 0.544px;visibility: visible;\">\u5927\u5bb6\u597d\uff0c\u6211\u662f\u9e4f\u78ca\u3002<\/strong><\/span><\/p>\n<h1 style=\"margin-bottom: 14px;outline: 0px;font-size: 22px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;background-color: rgb(255, 255, 255);color: rgb(34, 34, 34);line-height: 1.4;letter-spacing: 0.54px;visibility: visible;\"><a target=\"_blank\" href=\"http:\/\/mp.weixin.qq.com\/s?__biz=MzI4NTM1NDgwNw==&amp;mid=2247529872&amp;idx=1&amp;sn=308e8118e22357a035f86cebeba117ef&amp;chksm=ebef4bc8dc98c2de3c8336399dccbc6ca1078cc4ab3adcd7da74ce59023fda7be461315174d4&amp;scene=21#wechat_redirect\" textvalue=\"\u200d2023\u5e74Java\u6210\u795e\u4e4b\u8def\u5b66\u4e60\u8def\u7ebf\u200d\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" data-itemshowtype=\"0\" tab=\"innerlink\" data-linktype=\"2\" hasload=\"1\" style=\"outline: 0px;color: rgb(0, 82, 255);text-decoration: underline;cursor: pointer;font-size: 18px;visibility: visible;\" rel=\"noopener\" rel=\"nofollow\" ><\/a><\/h1>\n<section style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;letter-spacing: 0.578px;background-color: rgb(255, 255, 255);visibility: visible;\"><a href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI4NTM1NDgwNw==&amp;mid=2247532504&amp;idx=1&amp;sn=1c2f5e4c4bd218a38590764995708fba&amp;scene=21#wechat_redirect\" target=\"_blank\" data-linktype=\"2\" tab=\"innerlink\" imgdata=\"null\" imgurl=\"\" linktype=\"text\" textvalue=\"2023 \u5e74 Java \u67b6\u6784\u5e08\uff1a\u89c6\u9891\u8bfe\u7a0b\" style=\"outline: 0px;color: var(--weui-LINK);cursor: pointer;visibility: visible;\" rel=\"noopener\" rel=\"nofollow\" ><\/a><\/section>\n<section style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;letter-spacing: 0.578px;background-color: rgb(255, 255, 255);visibility: visible;\"><a target=\"_blank\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI4NTM1NDgwNw==&amp;mid=2247532648&amp;idx=1&amp;sn=d66d9c58c99764dc5ddf07f95c6be834&amp;scene=21#wechat_redirect\" textvalue=\"2023 \u5e74 Java \u67b6\u6784\u5e08\uff1a\u200d\u89c6\u9891\u8bfe\u7a0b\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" tab=\"innerlink\" data-linktype=\"2\" style=\"outline: 0px;color: var(--weui-LINK);cursor: pointer;visibility: visible;\" rel=\"noopener\" rel=\"nofollow\" ><\/a><\/section>\n<section style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;letter-spacing: 0.578px;background-color: rgb(255, 255, 255);line-height: 3em;visibility: visible;\"><a target=\"_blank\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI4NTM1NDgwNw==&amp;mid=2247532648&amp;idx=1&amp;sn=d66d9c58c99764dc5ddf07f95c6be834&amp;scene=21#wechat_redirect\" textvalue=\"\u200d2023 \u5e74 Java \u67b6\u6784\u5e08\uff1a\u89c6\u9891\u8bfe\u7a0b\u200d\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" tab=\"innerlink\" data-linktype=\"2\" style=\"outline: 0px;color: rgb(0, 82, 255);text-decoration: underline;cursor: pointer;visibility: visible;\" rel=\"noopener\" rel=\"nofollow\" ><\/a><\/section>\n<section style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;letter-spacing: 0.578px;background-color: rgb(255, 255, 255);line-height: 3em;visibility: visible;\"><a target=\"_blank\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI4NTM1NDgwNw==&amp;mid=2247532851&amp;idx=1&amp;sn=59739b7a60aa5855a4a4c22bd94cbd47&amp;scene=21#wechat_redirect\" textvalue=\"2023 \u5e74 Java \u67b6\u6784\u5e08\uff1a\u89c6\u9891\u8bfe\u7a0b\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" tab=\"innerlink\" data-linktype=\"2\" style=\"outline: 0px;color: rgb(0, 82, 255);text-decoration: underline;cursor: pointer;letter-spacing: normal;visibility: visible;\" rel=\"noopener\" rel=\"nofollow\" ><\/a><\/section>\n<section style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;letter-spacing: 0.578px;background-color: rgb(255, 255, 255);line-height: 3em;visibility: visible;\"><a target=\"_blank\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI4NTM1NDgwNw==&amp;mid=2247535848&amp;idx=1&amp;sn=61d695a75d523d5e78ecd9539146c044&amp;scene=21#wechat_redirect\" textvalue=\"2023 \u5e74 Java \u67b6\u6784\u5e08\uff1a\u6210\u957f\u4e4b\u8def\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" tab=\"innerlink\" data-linktype=\"2\" style=\"outline: 0px;color: rgb(0, 82, 255);text-decoration: underline;cursor: pointer;visibility: visible;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\" rel=\"noopener\" rel=\"nofollow\" ><\/a><\/section>\n<section style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;letter-spacing: 0.578px;background-color: rgb(255, 255, 255);line-height: 3em;visibility: visible;\"><a target=\"_blank\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI4NTM1NDgwNw==&amp;mid=2247543189&amp;idx=1&amp;sn=05447d95b3d8e7b0782103076c3277f6&amp;scene=21#wechat_redirect\" textvalue=\"2024 \u5e74 Java \u67b6\u6784\u5e08\uff1a\u89c6\u9891\u8bfe\u7a0b\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" tab=\"innerlink\" data-linktype=\"2\" style=\"outline: 0px;color: var(--weui-LINK);cursor: pointer;visibility: visible;\" rel=\"noopener\" rel=\"nofollow\" ><strong style=\"outline: 0px;visibility: visible;\"><span style=\"outline: 0px;font-size: 18px;color: rgb(0, 82, 255);text-decoration: underline;visibility: visible;\"><strong style=\"outline: 0px;visibility: visible;\">2024 \u5e74 Java \u67b6\u6784\u5e08\uff1a\u89c6\u9891\u8bfe\u7a0b<\/strong><\/span><\/strong><\/a><\/section>\n<section style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;letter-spacing: 0.578px;background-color: rgb(255, 255, 255);line-height: 3em;visibility: visible;\"><a target=\"_blank\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI4NTM1NDgwNw==&amp;mid=2247543628&amp;idx=1&amp;sn=ac77f54a67d810061171c3e3b38d2824&amp;scene=21#wechat_redirect\" textvalue=\"2024 \u5e74 Java \u8fdb\u9636\u9ad8\u7ea7\uff1a\u89c6\u9891\u8bfe\u7a0b\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" tab=\"innerlink\" data-linktype=\"2\" style=\"outline: 0px;color: var(--weui-LINK);cursor: pointer;visibility: visible;\" rel=\"noopener\" rel=\"nofollow\" ><span style=\"outline: 0px;color: rgb(0, 82, 255);text-decoration: underline;visibility: visible;\"><strong style=\"outline: 0px;visibility: visible;\">2024 \u5e74 Java \u8fdb\u9636\u9ad8\u7ea7\uff1a\u89c6\u9891\u8bfe\u7a0b<\/strong><\/span><\/a><\/section>\n<section style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;letter-spacing: 0.578px;background-color: rgb(255, 255, 255);line-height: 3em;visibility: visible;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-croporidata-src=\"https:\/\/mmbiz.qlogo.cn\/sz_mmbiz_jpg\/GpcH5Yqqj0mLn1nacWmKfbzossc5FI4yzwMVic4QU3IgAAaIKazHm6M0MV2icFOAlku1GToCsKNQPziadW8qictNYA\/0?wx_fmt=other&amp;from=appmsg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\" data-cropx1=\"0\" data-cropx2=\"1001\" data-cropy1=\"0\" data-cropy2=\"396.5899653979239\" data-imgfileid=\"100061599\" data-ratio=\"0.3966033966033966\"  data-type=\"jpeg\" data-w=\"1001\" style=\"width: 578px;height: 229px;border-radius: 16px;\" data-src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215405532.jpeg\" src=\"https:\/\/s.nmxc.ltd\/sakurairo_vision\/@2.6\/load_svg\/inload.svg\" onerror=\"imgError(this)\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-croporisrc=\"https:\/\/mmbiz.qlogo.cn\/sz_mmbiz_jpg\/GpcH5Yqqj0mLn1nacWmKfbzossc5FI4yzwMVic4QU3IgAAaIKazHm6M0MV2icFOAlku1GToCsKNQPziadW8qictNYA\/0?wx_fmt=other&amp;from=appmsg\" data-cropx1=\"0\" data-cropx2=\"1001\" data-cropy1=\"0\" data-cropy2=\"396.5899653979239\" data-imgfileid=\"100061599\" data-ratio=\"0.3966033966033966\"  data-type=\"jpeg\" data-w=\"1001\" style=\"width: 578px;height: 229px;border-radius: 16px;\" src=\"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215405532.jpeg\"  \/><\/noscript><\/section>\n<section style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;letter-spacing: 0.578px;background-color: rgb(255, 255, 255);line-height: 3em;visibility: visible;\"><a target=\"_blank\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzA3MTUzOTcxOQ==&amp;mid=2452998321&amp;idx=1&amp;sn=bd7f42698cff412e85bcddf96560bff6&amp;scene=21#wechat_redirect\" textvalue=\"\u200d\u4e70 Flowable 400\u8bb2\uff0c\u9001Camunda\u89c6\u9891\u5b9e\u6218\u200d\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" tab=\"innerlink\" data-linktype=\"2\" style=\"outline: 0px;color: rgb(0, 82, 255);text-decoration: underline;cursor: pointer;visibility: visible;\" rel=\"noopener\" rel=\"nofollow\" ><span style=\"outline: 0px;visibility: visible;\"><strong style=\"outline: 0px;visibility: visible;\"><\/strong><\/span><\/a><\/section>\n<section data-tool=\"mdnice\u7f16\u8f91\u5668\" data-website=\"https:\/\/www.mdnice.com\" style=\"font-size: 16px;color: black;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Roboto, Oxygen, Ubuntu, Cantarell, PingFangSC-regular, PingFangTC-regular, &quot;Open Sans&quot;, &quot;Helvetica Neue&quot;, sans-serif;\">\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u867d\u7136Java\u7a0b\u5e8f\u5458\u5927\u90e8\u5206\u5de5\u4f5c\u90fd\u662fCRUD\uff0c\u4f46\u662f\u5de5\u4f5c\u4e2d\u5e38\u7528\u7684\u4e2d\u95f4\u4ef6\u5fc5\u987b\u548cSpring\u96c6\u6210\uff0c\u5982\u679c\u4e0d\u77e5\u9053Spring\u7684\u539f\u7406\uff0c\u5f88\u96be\u7406\u89e3\u8fd9\u4e9b\u4e2d\u95f4\u4ef6\u548c\u6846\u67b6\u7684\u539f\u7406\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 18px;\"><span style=\"display: none;\"><\/span>\u4e00\u5f20\u957f\u56fe\u900f\u5f7b\u89e3\u91ca Spring\u542f\u52a8\u987a\u5e8f<\/h2>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100061596\" data-ratio=\"2.137962962962963\"  data-type=\"other\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100061596\" data-ratio=\"2.137962962962963\"  data-type=\"other\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: #888;font-size: 14px;\"><\/figcaption><\/figure>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 18px;\"><span style=\"display: none;\"><\/span>\u6d4b\u8bd5\u5bf9Spring\u542f\u52a8\u539f\u7406\u7684\u7406\u89e3\u7a0b\u5ea6<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6211\u4e3e\u4e2a\u4f8b\u5b50\uff0c\u6d4b\u8bd5\u4e00\u4e0b\uff0c\u4f60\u5bf9Spring\u542f\u52a8\u539f\u7406\u7684\u7406\u89e3\u7a0b\u5ea6\u3002<\/p>\n<ul data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 8px;margin-bottom: 8px;padding-left: 25px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\" class=\"list-paddingleft-1\">\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);\">Rpc\u6846\u67b6\u548cSpring\u7684\u96c6\u6210\u95ee\u9898\u3002Rpc\u6846\u67b6\u4f55\u65f6\u6ce8\u518c\u66b4\u9732\u670d\u52a1\uff0c\u5728\u54ea\u4e2aSpring\u6269\u5c55\u70b9\u6ce8\u518c\u5462\uff1finit-method \u4e2d\u884c\u4e0d\u884c\uff1f<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);\">MQ \u6d88\u8d39\u7ec4\u548cSpring\u7684\u96c6\u6210\u95ee\u9898\u3002MQ\u6d88\u8d39\u8005\u4f55\u65f6\u5f00\u59cb\u6d88\u8d39\uff0c\u5728\u54ea\u4e2aSpring\u6269\u5c55\u70b9\u201d\u6ce8\u518c\u201c\u81ea\u5df1\uff1finit-method \u4e2d\u884c\u4e0d\u884c\uff1f<\/section>\n<\/li>\n<li>\n<section style=\"margin-top: 5px;margin-bottom: 5px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);\">SpringBoot \u96c6\u6210Tomcat\u95ee\u9898\u3002\u5982\u679c\u51fa\u73b0\u5df2\u5f00\u542fHttp\u6d41\u91cf\uff0cSpring\u8fd8\u672a\u542f\u52a8\u5b8c\u6210\uff0c\u600e\u4e48\u529e\uff1fTomcat\u4f55\u65f6\u5f00\u542f\u7aef\u53e3\uff0c\u5bf9\u5916\u670d\u52a1\uff1f<\/section>\n<\/li>\n<\/ul>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">SpringBoot\u9879\u76ee\u5e38\u89c1\u7684\u6d41\u91cf\u5165\u53e3\u65e0\u5916\u4e4e Rpc\u3001Http\u3001MQ \u4e09\u79cd\u65b9\u5f0f\u3002\u4e00\u540d\u5408\u683c\u7684\u67b6\u6784\u5e08\u5fc5\u987b\u7cbe\u901a\u670d\u52a1\u7684\u5165\u53e3\u6d41\u91cf\u4f55\u65f6\u5f00\u542f\uff0c\u5982\u4f55\u6b63\u786e\u5f00\u542f\uff1f\u6700\u8fd1\u6211\u9047\u5230\u7684\u4e24\u6b21\u7ebf\u4e0a\u6545\u969c\u90fd\u548cSpring\u542f\u52a8\u8fc7\u7a0b\u76f8\u5173\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6545\u969c\u7684\u5177\u4f53\u8868\u73b0\u662f\uff1aKafka\u6d88\u8d39\u7ec4\u5df2\u7ecf\u5f00\u59cb\u6d88\u8d39\uff0c\u5df2\u5f00\u542f\u6d41\u91cf\uff0c\u7136\u800cSpring \u8fd8\u672a\u542f\u52a8\u5b8c\u6210\u3002\u56e0\u4e3a\u4e1a\u52a1\u4ee3\u7801\u4e2d\u4f7f\u7528\u7684Spring Event\u4e8b\u4ef6\u8ba2\u9605\u7ec4\u4ef6\u8fd8\u672a\u542f\u52a8\uff08\u8ba2\u9605\u8005\u8fd8\u672a\u6ce8\u518c\u5230Spring\uff09\uff0c\u6240\u4ee5\u5904\u7406\u5f02\u5e38\uff0c\u51fa\u4e86\u7ebf\u4e0a\u6545\u969c\u3002\u6839\u672c\u539f\u56e0\u662f\u2014\u2014\u2014\u2014\u9879\u76ee\u5728\u9519\u8bef\u7684\u65f6\u673a\u5f00\u542f MQ \u6d41\u91cf\uff0c\u7136\u800cSpring\u8fd8\u672a\u542f\u52a8\u5b8c\u6210\uff0c\u5bfc\u81f4\u51fa\u73b0\u6545\u969c\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6b63\u786e\u7684\u505a\u6cd5\u662f\uff1a\u9879\u76ee\u5728Spring\u542f\u52a8\u5b8c\u6210\u540e\u5f00\u542f\u5165\u53e3\u6d41\u91cf\uff0c\u7136\u800c\u6211\u53f8\u7684Kafka\u6d88\u8d39\u7ec4 \u5728Spring <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">init-method bean<\/code> \u5b9e\u4f8b\u5316\u9636\u6bb5\u5c31\u5f00\u542f\u4e86\u6d41\u91cf\uff0c\u5bfc\u81f4\u6545\u969c\u53d1\u751f\u3002\u51fa\u73b0\u8fd9\u6837\u7684\u95ee\u9898\uff0c\u8bf4\u660e\u9879\u76ee\u521d\u671f\u7684\u7a0b\u5e8f\u5458\u6ca1\u6709\u6df1\u5165\u7406\u89e3Spring\u7684\u542f\u52a8\u539f\u7406\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u63a5\u4e0b\u6765\uff0c\u6211\u518d\u6b21\u629b\u51fa 11 \u4e2a\u95ee\u9898\uff0c\u8bf4\u660e\u8fd9\u4e2a\u95ee\u9898\u2014\u2014\u2014\u2014\u6df1\u5165\u7406\u89e3Spring\u542f\u52a8\u539f\u7406\u7684\u91cd\u8981\u6027\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">1\u3001<\/strong> Spring\u8fd8\u672a\u5b8c\u5168\u542f\u52a8\uff0c\u5728<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">PostConstruct<\/code>\u4e2d\u8c03\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">getBeanByAnnotation<\/code>\u80fd\u5426\u83b7\u5f97\u51c6\u786e\u7684\u7ed3\u679c\uff1f\uff1b<strong style=\"color: black;\">2\u3001<\/strong> \u9879\u76ee\u5e94\u8be5\u5982\u4f55\u76d1\u542cSpring\u7684\u542f\u52a8\u5c31\u7eea\u4e8b\u4ef6\uff1f\uff1b<strong style=\"color: black;\">3\u3001<\/strong> \u9879\u76ee\u5982\u4f55\u76d1\u542cSpring\u5237\u65b0\u4e8b\u4ef6\uff1f\uff1b<strong style=\"color: black;\">4\u3001<\/strong> Spring\u5c31\u7eea\u4e8b\u4ef6\u548c\u5237\u65b0\u4e8b\u4ef6\u7684\u6267\u884c\u987a\u5e8f\u548c\u533a\u522b\uff1f\uff1b<strong style=\"color: black;\">5\u3001<\/strong> Http\u6d41\u91cf\u5165\u53e3\u4f55\u65f6\u542f\u52a8\u5b8c\u6210\uff1f\uff1b<strong style=\"color: black;\">6\u3001<\/strong> \u9879\u76ee\u4e2d\u5728<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">init-method<\/code>\u65b9\u6cd5\u4e2d\u6ce8\u518cRpc\u662f\u5426\u5408\u7406\uff1f\u4ec0\u4e48\u662f\u5408\u7406\u7684\u65f6\u673a\uff1f\uff1b<strong style=\"color: black;\">7\u3001<\/strong> \u9879\u76ee\u4e2d\u5728<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">init-method<\/code>\u65b9\u6cd5\u4e2d\u6ce8\u518cMQ\u6d88\u8d39\u7ec4\u662f\u5426\u5408\u7406\uff1f\u4ec0\u4e48\u662f\u5408\u7406\u7684\u65f6\u673a\uff1f\uff1b<strong style=\"color: black;\">8\u3001<\/strong> <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">PostConstruct<\/code>\u4e2d\u65b9\u6cd5\u4f9d\u8d56<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">ApplicationContextAware<\/code>\u62ff\u5230<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">ApplicationContext<\/code>\uff0c\u4e24\u8005\u7684\u987a\u5e8f\u8c01\u5148\u8c01\u540e\uff1f\u662f\u5426\u4f1a\u51fa\u73b0\u7a7a\u6307\u9488!\uff1b<strong style=\"color: black;\">9\u3001<\/strong> <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">init-method<\/code>\u3001<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">PostConstruct<\/code>\u3001<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">afterPropertiesSet<\/code>\u4e09\u4e2a\u65b9\u6cd5\u7684\u6267\u884c\u987a\u5e8f?\uff1b<strong style=\"color: black;\">10\u3001<\/strong> \u6709\u4e24\u4e2aBean\u58f0\u660e\u4e86\u521d\u59cb\u5316\u65b9\u6cd5A\u4f7f\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">PostConstruct<\/code>\u6ce8\u89e3\u58f0\u660e\uff0cB\u4f7f\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">init-method<\/code>\u58f0\u660eSpring\u4e00\u5b9a\u5148\u6267\u884cA\u7684<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">PostConstruct<\/code>\u65b9\u6cd5\u5417\uff1f\uff1b<strong style=\"color: black;\">11\u3001<\/strong> Spring\u4f55\u65f6\u88c5\u914dAutowire\u5c5e\u6027\uff0c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">PostConstruct<\/code>\u65b9\u6cd5\u4e2d\u5f15\u7528Autowired\u5b57\u6bb5\u4ec0\u4e48\u573a\u666f\u4f1a\u7a7a\u6307\u9488?\uff1b<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u7cbe\u901aSpring \u542f\u52a8\u539f\u7406\uff0c\u4ee5\u4e0a\u95ee\u9898\u5219\u8fce\u5203\u800c\u89e3\u3002\u63a5\u4e0b\u6765\uff0c\u5927\u5bb6\u4e00\u8d77\u5b66\u4e60Spring\u7684\u542f\u52a8\u539f\u7406\uff0c\u770b\u770bSpring\u7684\u6269\u5c55\u70b9\u5206\u522b\u5728\u4f55\u65f6\u6267\u884c\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 18px;\"><span style=\"display: none;\"><\/span>\u4e00\u8d77\u6570\u6570 Spring\u542f\u52a8\u8fc7\u7a0b\u7684\u6269\u5c55\u70b9\u6709\u51e0\u4e2a\uff1f<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">Spring\u7684\u6269\u5c55\u70b9\u6781\u591a\uff0c\u8fd9\u91cc\u4e3a\u4e86\u8bb2\u6e05\u695a\u542f\u52a8\u539f\u7406\uff0c\u6240\u4ee5\u53ea\u5217\u4e3e\u548c\u542f\u52a8\u8fc7\u7a0b\u6709\u5173\u7684\u6269\u5c55\u70b9\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">1\u3001<\/strong> <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">BeanFactoryAware<\/code>\u53ef\u5728Bean\u4e2d\u83b7\u53d6<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">BeanFactory<\/code>\u5b9e\u4f8b\uff1b<strong style=\"color: black;\">2\u3001<\/strong> <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">ApplicationContextAware<\/code>\u53ef\u5728Bean\u4e2d\u83b7\u53d6<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">ApplicationContext<\/code>\u5b9e\u4f8b\uff1b<strong style=\"color: black;\">3\u3001<\/strong> <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">BeanNameAware<\/code>\u53ef\u4ee5\u5728Bean\u4e2d\u5f97\u5230\u5b83\u5728IOC\u5bb9\u5668\u4e2d\u7684Bean\u7684\u5b9e\u4f8b\u7684\u540d\u5b57\uff1b<strong style=\"color: black;\">4\u3001<\/strong> <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">ApplicationListener<\/code>\u53ef\u76d1\u542c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">ContextRefreshedEvent<\/code>\u7b49\uff1b<strong style=\"color: black;\">5\u3001<\/strong> <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">CommandLineRunner<\/code>\u6574\u4e2a\u9879\u76ee\u542f\u52a8\u5b8c\u6bd5\u540e\uff0c\u81ea\u52a8\u6267\u884c\uff1b6. SmartLifecycle#start \u5728Spring Bean\u5b9e\u4f8b\u5316\u5b8c\u6210\u540e\uff0c\u6267\u884cstart \u65b9\u6cd5\u3002<strong style=\"color: black;\">7\u3001<\/strong> \u4f7f\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">@PostConstruct<\/code>\u6ce8\u89e3\uff0c\u7528\u4e8eBean\u5b9e\u4f8b\u521d\u59cb\u5316\uff1b<strong style=\"color: black;\">8\u3001<\/strong> \u5b9e\u73b0<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">InitializingBean<\/code>\u63a5\u53e3\uff0c\u7528\u4e8eBean\u5b9e\u4f8b\u521d\u59cb\u5316\uff1b<strong style=\"color: black;\">9\u3001<\/strong> xml\u4e2d\u58f0\u660e<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">init-method<\/code>\u65b9\u6cd5\uff0c\u7528\u4e8eBean\u5b9e\u4f8b\u521d\u59cb\u5316\uff1b<strong style=\"color: black;\">10\u3001<\/strong> <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">Configuration<\/code>\u914d\u7f6e\u7c7b\u901a\u8fc7@Bean\u6ce8\u89e3\u6ce8\u518cBean\u5230Spring\uff1b<strong style=\"color: black;\">11\u3001<\/strong> <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">BeanPostProcessor<\/code>\u5728Bean\u7684\u521d\u59cb\u5316\u524d\u540e\uff0c\u690d\u5165\u6269\u5c55\u70b9\uff01\uff1b<strong style=\"color: black;\">12\u3001<\/strong> <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">BeanFactoryPostProcessor<\/code>\u5728<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">BeanFactory<\/code>\u521b\u5efa\u540e\u690d\u5165\u6269\u5c55\u70b9\uff01\uff1b<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 18px;\"><span style=\"display: none;\"><\/span>\u901a\u8fc7\u6253\u5370\u65e5\u5fd7\u5b66\u4e60Spring\u7684\u6267\u884c\u987a\u5e8f<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u9996\u5148\u6211\u4eec\u5148\u901a\u8fc7 \u4ee3\u7801\u5b9e\u9a8c\uff0c\u9a8c\u8bc1\u4e00\u4e0b\u4ee5\u4e0a\u6269\u5c55\u70b9\u7684\u6267\u884c\u987a\u5e8f\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">1\u3001<\/strong> \u58f0\u660e<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">TestSpringOrder<\/code>\u5206\u522b\u7ee7\u627f\u4ee5\u4e0b\u63a5\u53e3\uff0c\u5e76\u4e14\u5728\u63a5\u53e3\u65b9\u6cd5\u5b9e\u73b0\u4e2d\uff0c\u65e5\u5fd7\u6253\u5370\u8be5\u63a5\u53e3\u7684\u540d\u79f0\uff1b<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;background: #272822;color: #ddd;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;-webkit-overflow-scrolling: touch;font-size: 12px;\"><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">public<\/span><span style=\"line-height: 26px;\"><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">class<\/span><span style=\"font-weight: bold;color: white;line-height: 26px;\">TestSpringOrder<\/span><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">implements<\/span><span style=\"font-weight: bold;color: white;line-height: 26px;\">ApplicationContextAware<\/span>,<span style=\"font-weight: bold;color: white;line-height: 26px;\">BeanFactoryAware<\/span>,<span style=\"font-weight: bold;color: white;line-height: 26px;\">InitializingBean<\/span>,<span style=\"font-weight: bold;color: white;line-height: 26px;\">SmartLifecycle<\/span>,<span style=\"font-weight: bold;color: white;line-height: 26px;\">BeanNameAware<\/span>,<span style=\"font-weight: bold;color: white;line-height: 26px;\">ApplicationListener<\/span>&lt;<span style=\"font-weight: bold;color: white;line-height: 26px;\">ContextRefreshedEvent<\/span>&gt;,<span style=\"font-weight: bold;color: white;line-height: 26px;\">CommandLineRunner<\/span>,<span style=\"font-weight: bold;color: white;line-height: 26px;\">SmartInitializingSingleton<\/span><\/span>{<\/code><\/pre>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;background: #272822;color: #ddd;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;-webkit-overflow-scrolling: touch;font-size: 12px;\"><span style=\"color: #75715e;line-height: 26px;\">@Override<\/span><span style=\"line-height: 26px;\"><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">public<\/span><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">void<\/span><span style=\"color: #a6e22e;font-weight: bold;line-height: 26px;\">afterPropertiesSet<\/span><span style=\"line-height: 26px;\">()<\/span><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">throws<\/span>Exception<\/span>{log.error(<span style=\"color: #a6e22e;line-height: 26px;\">\"\u542f\u52a8\u987a\u5e8f:afterPropertiesSet\"<\/span>);}<span style=\"color: #75715e;line-height: 26px;\">@Override<\/span><span style=\"line-height: 26px;\"><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">public<\/span><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">void<\/span><span style=\"color: #a6e22e;font-weight: bold;line-height: 26px;\">setApplicationContext<\/span><span style=\"line-height: 26px;\">(ApplicationContextapplicationContext)<\/span><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">throws<\/span>BeansException<\/span>{log.error(<span style=\"color: #a6e22e;line-height: 26px;\">\"\u542f\u52a8\u987a\u5e8f:setApplicationContext\"<\/span>);}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">2\u3001<\/strong> <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">TestSpringOrder<\/code>\u4f7f\u7528<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">PostConstruct<\/code>\u6ce8\u89e3\u521d\u59cb\u5316\uff0c\u58f0\u660e<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">init-method<\/code>\u65b9\u6cd5\u521d\u59cb\u5316\uff1b<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;background: #272822;color: #ddd;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;-webkit-overflow-scrolling: touch;font-size: 12px;\"><span style=\"color: #75715e;line-height: 26px;\">@PostConstruct<\/span><span style=\"line-height: 26px;\"><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">public<\/span><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">void<\/span><span style=\"color: #a6e22e;font-weight: bold;line-height: 26px;\">postConstruct<\/span><span style=\"line-height: 26px;\">()<\/span><\/span>{log.error(<span style=\"color: #a6e22e;line-height: 26px;\">\"\u542f\u52a8\u987a\u5e8f:post-construct\"<\/span>);}<span style=\"line-height: 26px;\"><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">public<\/span><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">void<\/span><span style=\"color: #a6e22e;font-weight: bold;line-height: 26px;\">initMethod<\/span><span style=\"line-height: 26px;\">()<\/span><\/span>{log.error(<span style=\"color: #a6e22e;line-height: 26px;\">\"\u542f\u52a8\u987a\u5e8f:init-method\"<\/span>);}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">3\u3001<\/strong> \u65b0\u5efa<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">TestSpringOrder2<\/code>\u7ee7\u627f\uff1b<\/p>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;background: #272822;color: #ddd;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;-webkit-overflow-scrolling: touch;font-size: 12px;\"><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">public<\/span><span style=\"line-height: 26px;\"><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">class<\/span><span style=\"font-weight: bold;color: white;line-height: 26px;\">TestSpringOrder3<\/span><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">implements<\/span><span style=\"font-weight: bold;color: white;line-height: 26px;\">BeanPostProcessor<\/span>,<span style=\"font-weight: bold;color: white;line-height: 26px;\">BeanFactoryPostProcessor<\/span><\/span>{<span style=\"color: #75715e;line-height: 26px;\">@Override<\/span><span style=\"line-height: 26px;\"><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">public<\/span>Object<span style=\"color: #a6e22e;font-weight: bold;line-height: 26px;\">postProcessBeforeInitialization<\/span><span style=\"line-height: 26px;\">(Objectbean,StringbeanName)<\/span><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">throws<\/span>BeansException<\/span>{log.error(<span style=\"color: #a6e22e;line-height: 26px;\">\"\u542f\u52a8\u987a\u5e8f:BeanPostProcessorpostProcessBeforeInitializationbeanName:{}\"<\/span>,beanName);<span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">return<\/span>bean;}<span style=\"color: #75715e;line-height: 26px;\">@Override<\/span><span style=\"line-height: 26px;\"><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">public<\/span>Object<span style=\"color: #a6e22e;font-weight: bold;line-height: 26px;\">postProcessAfterInitialization<\/span><span style=\"line-height: 26px;\">(Objectbean,StringbeanName)<\/span><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">throws<\/span>BeansException<\/span>{log.error(<span style=\"color: #a6e22e;line-height: 26px;\">\"\u542f\u52a8\u987a\u5e8f:BeanPostProcessorpostProcessAfterInitializationbeanName:{}\"<\/span>,beanName);<span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">return<\/span>bean;}<span style=\"color: #75715e;line-height: 26px;\">@Override<\/span><span style=\"line-height: 26px;\"><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">public<\/span><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">void<\/span><span style=\"color: #a6e22e;font-weight: bold;line-height: 26px;\">postProcessBeanFactory<\/span><span style=\"line-height: 26px;\">(ConfigurableListableBeanFactorybeanFactory)<\/span><span style=\"color: #f92672;font-weight: bold;line-height: 26px;\">throws<\/span>BeansException<\/span>{log.error(<span style=\"color: #a6e22e;line-height: 26px;\">\"\u542f\u52a8\u987a\u5e8f:BeanFactoryPostProcessorpostProcessBeanFactory\"<\/span>);}}<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6267\u884c\u4ee5\u4e0a\u4ee3\u7801\u540e\uff0c\u53ef\u4ee5\u5728\u65e5\u5fd7\u4e2d\u770b\u5230\u542f\u52a8\u987a\u5e8f\uff01<\/p>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 17px;\"><span style=\"display: none;\"><\/span>\u5b9e\u9645\u7684\u6267\u884c\u987a\u5e8f<span style=\"display: none;\"><\/span><\/h4>\n<pre data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;\"><code style=\"overflow-x: auto;padding: 16px;background: #272822;color: #ddd;display: -webkit-box;font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;border-radius: 0px;-webkit-overflow-scrolling: touch;font-size: 12px;\"><span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">53<\/span>,<span style=\"line-height: 26px;\">748<\/span>[main]ERROR(TestSpringOrder3:<span style=\"line-height: 26px;\">37<\/span>)-\u542f\u52a8\u987a\u5e8f:BeanFactoryPostProcessorpostProcessBeanFactory<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">59<\/span>,<span style=\"line-height: 26px;\">299<\/span>[main]ERROR(TestSpringOrder:<span style=\"line-height: 26px;\">53<\/span>)-\u542f\u52a8\u987a\u5e8f:\u6784\u9020\u51fd\u6570TestSpringOrder<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">59<\/span>,<span style=\"line-height: 26px;\">316<\/span>[main]ERROR(TestSpringOrder:<span style=\"line-height: 26px;\">127<\/span>)-\u542f\u52a8\u987a\u5e8f:Autowired<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">59<\/span>,<span style=\"line-height: 26px;\">316<\/span>[main]ERROR(TestSpringOrder:<span style=\"line-height: 26px;\">129<\/span>)-\u542f\u52a8\u987a\u5e8f:setBeanName<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">59<\/span>,<span style=\"line-height: 26px;\">316<\/span>[main]ERROR(TestSpringOrder:<span style=\"line-height: 26px;\">111<\/span>)-\u542f\u52a8\u987a\u5e8f:setBeanFactory<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">59<\/span>,<span style=\"line-height: 26px;\">316<\/span>[main]ERROR(TestSpringOrder:<span style=\"line-height: 26px;\">121<\/span>)-\u542f\u52a8\u987a\u5e8f:setApplicationContext<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">59<\/span>,<span style=\"line-height: 26px;\">316<\/span>[main]ERROR(TestSpringOrder3:<span style=\"line-height: 26px;\">25<\/span>)-\u542f\u52a8\u987a\u5e8f:BeanPostProcessorpostProcessBeforeInitializationbeanName:testSpringOrder<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">59<\/span>,<span style=\"line-height: 26px;\">316<\/span>[main]ERROR(TestSpringOrder:<span style=\"line-height: 26px;\">63<\/span>)-\u542f\u52a8\u987a\u5e8f:post-construct<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">59<\/span>,<span style=\"line-height: 26px;\">317<\/span>[main]ERROR(TestSpringOrder:<span style=\"line-height: 26px;\">116<\/span>)-\u542f\u52a8\u987a\u5e8f:afterPropertiesSet<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">59<\/span>,<span style=\"line-height: 26px;\">317<\/span>[main]ERROR(TestSpringOrder:<span style=\"line-height: 26px;\">46<\/span>)-\u542f\u52a8\u987a\u5e8f:init-method<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">10<\/span>:<span style=\"line-height: 26px;\">59<\/span>,<span style=\"line-height: 26px;\">320<\/span>[main]ERROR(TestSpringOrder3:<span style=\"line-height: 26px;\">31<\/span>)-\u542f\u52a8\u987a\u5e8f:BeanPostProcessorpostProcessAfterInitializationbeanName:testSpringOrder<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">17<\/span>:<span style=\"line-height: 26px;\">21<\/span>,<span style=\"line-height: 26px;\">563<\/span>[main]ERROR(SpringOrderConfiguartion:<span style=\"line-height: 26px;\">21<\/span>)-\u542f\u52a8\u987a\u5e8f:<span style=\"color: #75715e;line-height: 26px;\">@Bean<\/span>\u6ce8\u89e3\u65b9\u6cd5\u6267\u884c<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">17<\/span>:<span style=\"line-height: 26px;\">21<\/span>,<span style=\"line-height: 26px;\">668<\/span>[main]ERROR(TestSpringOrder:<span style=\"line-height: 26px;\">58<\/span>)-\u542f\u52a8\u987a\u5e8f:SmartInitializingSingleton<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">17<\/span>:<span style=\"line-height: 26px;\">21<\/span>,<span style=\"line-height: 26px;\">675<\/span>[main]ERROR(TestSpringOrder:<span style=\"line-height: 26px;\">74<\/span>)-\u542f\u52a8\u987a\u5e8f:start<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">17<\/span>:<span style=\"line-height: 26px;\">23<\/span>,<span style=\"line-height: 26px;\">508<\/span>[main]ERROR(TestSpringOrder:<span style=\"line-height: 26px;\">68<\/span>)-\u542f\u52a8\u987a\u5e8f:ContextRefreshedEvent<span style=\"line-height: 26px;\">2023<\/span>-<span style=\"line-height: 26px;\">11<\/span>-<span style=\"line-height: 26px;\">25<\/span><span style=\"line-height: 26px;\">18<\/span>:<span style=\"line-height: 26px;\">17<\/span>:<span style=\"line-height: 26px;\">23<\/span>,<span style=\"line-height: 26px;\">574<\/span>[main]ERROR(TestSpringOrder:<span style=\"line-height: 26px;\">79<\/span>)-\u542f\u52a8\u987a\u5e8f:CommandLineRunner<\/code><\/pre>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6211\u901a\u8fc7\u5728\u4ee5\u4e0a\u6269\u5c55\u70b9 \u6dfb\u52a0 debug \u65ad\u70b9\uff0c\u8c03\u8bd5\u4ee3\u7801\uff0c\u6574\u7406\u51fa Spring\u542f\u52a8\u539f\u7406\u7684 \u957f\u56fe\u3002\u8fc7\u7a0b\u7701\u7565\u2026\u2026\u2026\u2026<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 18px;\"><span style=\"display: none;\"><\/span>\u4e00\u5f20\u957f\u56fe\u900f\u5f7b\u89e3\u91ca Spring\u542f\u52a8\u987a\u5e8f<\/h2>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100061595\" data-ratio=\"2.137962962962963\"  data-type=\"other\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100061595\" data-ratio=\"2.137962962962963\"  data-type=\"other\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: #888;font-size: 14px;\"><\/figcaption><\/figure>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 17px;\"><span style=\"display: none;\"><\/span>\u5b9e\u4f8b\u5316\u548c\u521d\u59cb\u5316\u7684\u533a\u522b<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">new TestSpringOrder()<\/code>\uff1anew \u521b\u5efa\u5bf9\u8c61\u5b9e\u4f8b\uff0c\u5373\u4e3a\u5b9e\u4f8b\u5316\u4e00\u4e2a\u5bf9\u8c61\uff1b\u6267\u884c\u8be5Bean\u7684 <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">init-method<\/code> \u7b49\u65b9\u6cd5 \u4e3a\u521d\u59cb\u5316\u4e00\u4e2aBean\u3002\u6ce8\u610f\u521d\u59cb\u5316\u548c\u5b9e\u4f8b\u5316\u7684\u533a\u522b\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 18px;\"><span style=\"display: none;\"><\/span>Spring \u91cd\u8981\u6269\u5c55\u70b9\u7684\u542f\u52a8\u987a\u5e8f<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">1.BeanFactoryPostProcessor<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">BeanFactory\u521d\u59cb\u5316\u4e4b\u540e\uff0c\u6240\u6709\u7684Bean\u5b9a\u4e49\u5df2\u7ecf\u88ab\u52a0\u8f7d\uff0c\u4f46Bean\u5b9e\u4f8b\u8fd8\u6ca1\u88ab\u521b\u5efa\uff08\u4e0d\u5305\u62ec<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">BeanFactoryPostProcessor<\/code>\u7c7b\u578b\uff09\u3002Spring IoC\u5bb9\u5668\u5141\u8bb8<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">BeanFactoryPostProcessor<\/code>\u8bfb\u53d6\u914d\u7f6e\u5143\u6570\u636e\uff0c\u4fee\u6539bean\u7684\u5b9a\u4e49\uff0cBean\u7684\u5c5e\u6027\u503c\u7b49\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">2.\u5b9e\u4f8b\u5316Bean<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">Spring \u8c03\u7528java\u53cd\u5c04API \u5b9e\u4f8b\u5316 Bean\u3002\u7b49\u540c\u4e8e <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">new TestSpringOrder()<\/code>;<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">3.Autowired \u88c5\u914d\u4f9d\u8d56<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">Autowired\u662f \u501f\u52a9\u4e8e <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">AutowiredAnnotationBeanPostProcessor<\/code> \u89e3\u6790 Bean \u7684\u4f9d\u8d56\uff0c\u88c5\u914d\u4f9d\u8d56\u3002\u5982\u679c\u88ab\u4f9d\u8d56\u7684Bean\u8fd8\u672a\u521d\u59cb\u5316\uff0c\u5219\u5148\u521d\u59cb\u5316 \u88ab\u4f9d\u8d56\u7684Bean\u3002\u5728 Bean\u5b9e\u4f8b\u5316\u5b8c\u6210\u540e\uff0cSpring\u5c06\u9996\u5148\u88c5\u914dBean\u4f9d\u8d56\u7684\u5c5e\u6027\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">4.BeanNameAware<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">setBeanName<\/code><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">5.BeanFactoryAware<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">setBeanFactory<\/code><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">6.ApplicationContextAware setApplicationContext<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5728Bean\u5b9e\u4f8b\u5316\u524d\uff0c\u4f1a\u7387\u5148\u8bbe\u7f6eAware\u63a5\u53e3\uff0c\u4f8b\u5982 <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">BeanNameAware<\/code> <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">BeanFactoryAware<\/code> <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">ApplicationContextAware<\/code> \u7b49<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">7.BeanPostProcessor postProcessBeforeInitialization<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5982\u679c\u6211\u60f3\u5728 bean\u521d\u59cb\u5316\u65b9\u6cd5\u524d\u540e\u8981\u6dfb\u52a0\u4e00\u4e9b\u81ea\u5df1\u903b\u8f91\u5904\u7406\u3002\u53ef\u4ee5\u63d0\u4f9b <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">BeanPostProcessor<\/code>\u63a5\u53e3\u5b9e\u73b0\u7c7b\uff0c\u7136\u540e\u6ce8\u518c\u5230Spring IoC\u5bb9\u5668\u4e2d\u3002\u5728\u6b64\u63a5\u53e3\u4e2d\uff0c\u53ef\u4ee5\u521b\u5efaBean\u7684\u4ee3\u7406\uff0c\u751a\u81f3\u66ff\u6362\u8fd9\u4e2aBean\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">8.PostConstruct \u6267\u884c<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u63a5\u4e0b\u6765Spring\u4f1a\u4f9d\u6b21\u8c03\u7528 Bean\u5b9e\u4f8b\u521d\u59cb\u5316\u7684 \u4e09\u5927\u65b9\u6cd5\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">9.InitializingBean<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">afterPropertiesSet<\/code><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">10.init-method<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u65b9\u6cd5\u6267\u884c<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">11.BeanPostProcessor postProcessAfterInitialization<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5728Spring \u5bf9Bean\u7684\u521d\u59cb\u5316\u65b9\u6cd5\u6267\u884c\u5b8c\u6210\u540e\uff0c\u6267\u884c\u8be5\u65b9\u6cd5<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">12.\u5176\u4ed6Bean \u5b9e\u4f8b\u5316\u548c\u521d\u59cb\u5316<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">Spring \u4f1a\u5faa\u73af\u521d\u59cb\u5316Bean\u3002\u76f4\u81f3\u6240\u6709\u7684\u5355\u4f8bBean\u90fd\u5b8c\u6210\u521d\u59cb\u5316<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">13.\u6240\u6709\u5355\u4f8bBean \u521d\u59cb\u5316\u5b8c\u6210\u540e<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">14.SmartInitializingSingleton Bean\u5b9e\u4f8b\u5316\u540e\u7f6e\u5904\u7406<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u8be5\u63a5\u53e3\u7684\u6267\u884c\u65f6\u673a\u5728 \u6240\u6709\u7684\u5355\u4f8bBean\u6267\u884c\u5b8c\u6210\u540e\u3002\u4f8b\u5982Spring \u4e8b\u4ef6\u8ba2\u9605\u673a\u5236\u7684 <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">EventListener<\/code>\u6ce8\u89e3\uff0c\u6240\u6709\u7684\u8ba2\u9605\u8005 \u90fd\u662f \u5728\u8fd9\u4e2a\u4f4d\u7f6e\u88ab\u6ce8\u518c\u8fdb Spring\u7684\u3002\u800c\u5728\u6b64\u4e4b\u524d\uff0cSpring Event\u8ba2\u9605\u673a\u5236\u8fd8\u672a\u521d\u59cb\u5316\u5b8c\u6210\u3002\u6240\u4ee5\u5982\u679c\u6709 MQ\u3001Rpc \u5165\u53e3\u6d41\u91cf\u5728\u6b64\u4e4b\u524d\u5f00\u542f\uff0cSpring Event\u5c31\u53ef\u80fd\u51fa\u95ee\u9898\uff01<\/p>\n<blockquote data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"border-top: none;border-right: none;border-bottom: none;font-size: 0.9em;overflow: auto;border-left-color: rgba(0, 0, 0, 0.4);background: rgba(0, 0, 0, 0.05);color: rgb(106, 115, 125);padding: 10px 10px 10px 20px;margin-bottom: 20px;margin-top: 20px;\">\n<p style=\"padding-top: 8px;padding-bottom: 8px;font-size: 15px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;color: black;line-height: 26px;\">\u6240\u4ee5\u5f3a\u70c8\u5efa\u8bae Http\u3001MQ\u3001Rpc \u5165\u53e3\u6d41\u91cf\u5728 <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">SmartInitializingSingleton<\/code> \u4e4b\u540e\u5f00\u542f\u6d41\u91cf\u3002<\/p>\n<\/blockquote>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">Http\u3001MQ\u3001Rpc \u5165\u53e3\u6d41\u91cf\u5fc5\u987b\u5728 <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">SmartInitializingSingleton<\/code> \u4e4b\u540e\u5f00\u542f\u6d41\u91cf\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">15.Spring \u63d0\u4f9b\u7684\u6269\u5c55\u70b9\uff0c\u5728\u6240\u6709\u5355\u4f8bBean\u7684 EventListener\u7b49\u7ec4\u4ef6\u5168\u90e8\u542f\u52a8\u5b8c\u6210\u540e\uff0c\u5373Spring\u542f\u52a8\u5b8c\u6210\uff0c\u5219\u6267\u884c start \u65b9\u6cd5\u3002\u5728\u8fd9\u4e2a\u4f4d\u7f6e\u9002\u5408\u5f00\u542f\u5165\u53e3\u6d41\u91cf\uff01<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">Http\u3001MQ\u3001Rpc \u5165\u53e3\u6d41\u91cf\u9002\u5408 \u5728 <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">SmartLifecyle<\/code> \u4e2d\u5f00\u542f<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">16.\u53d1\u5e03 ContextRefreshedEvent \u65b9\u6cd5<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u8be5\u4e8b\u4ef6\u4f1a\u6267\u884c\u591a\u6b21\uff0c\u5728 <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">Spring Refresh<\/code> \u6267\u884c\u5b8c\u6210\u540e\uff0c\u5c31\u4f1a\u53d1\u5e03\u8be5\u4e8b\u4ef6\uff01<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">17.\u6ce8\u518c\u548c\u521d\u59cb\u5316 Spring MVC<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">SpringBoot \u5e94\u7528\uff0c\u5728\u7236\u7ea7 Spring\u542f\u52a8\u5b8c\u6210\u540e\uff0c\u4f1a\u5c1d\u8bd5\u542f\u52a8 \u5185\u5d4c\u5f0f tomcat\u5bb9\u5668\u3002\u5728\u6b64\u4e4b\u524d\uff0cSpringBoot\u4f1a\u521d\u59cb\u5316 SpringMVC \u548c\u6ce8\u518c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">DispatcherServlet<\/code>\u5230Web\u5bb9\u5668\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">18.Tomcat\/Jetty \u5bb9\u5668\u5f00\u542f\u7aef\u53e3<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">SpringBoot \u8c03\u7528\u5185\u5d4c\u5f0f\u5bb9\u5668\uff0c\u4f1a\u5f00\u542f\u5e76\u76d1\u542c\u7aef\u53e3\uff0c\u6b64\u65f6Http\u6d41\u91cf\u5c31\u5f00\u542f\u4e86\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">19.\u5e94\u7528\u542f\u52a8\u5b8c\u6210\u540e\uff0c\u6267\u884c CommandLineRunner<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">SpringBoot \u7279\u6709\u7684\u673a\u5236\uff0c\u5f85\u6240\u6709\u7684\u5b8c\u5168\u6267\u884c\u5b8c\u6210\u540e\uff0c\u4f1a\u6267\u884c\u8be5\u63a5\u53e3 run\u65b9\u6cd5\u3002\u503c\u5f97\u4e00\u63d0\u7684\u662f\uff0c\u7531\u4e8e\u6b64\u65f6Http\u6d41\u91cf\u5df2\u7ecf\u5f00\u542f\uff0c\u5982\u679c\u6b64\u65f6\u8fdb\u884c\u672c\u5730\u7f13\u5b58\u521d\u59cb\u5316\u3001\u9884\u70ed\u7f13\u5b58\u7b49\uff0c\u7a0d\u5fae\u6709\u4e9b\u665a\u4e86\uff01\u5728\u8fd9\u4e2a\u95f4\u9694\u671f\uff0c\u53ef\u80fd\u7f13\u5b58\u8fd8\u672a\u5c31\u7eea\uff01<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6240\u4ee5\u9884\u70ed\u7f13\u5b58\u7684\u65f6\u673a\u5e94\u8be5\u53d1\u751f\u5728 \u5165\u53e3\u6d41\u91cf\u5f00\u542f\u4e4b\u524d\uff0c\u6bd4\u8f83\u5408\u9002\u7684\u673a\u4f1a\u662f\u5728 Bean\u521d\u59cb\u5316\u7684\u9636\u6bb5\u3002\u867d\u7136 \u5728Bean\u521d\u59cb\u5316\u65f6 Spring\u5c1a\u672a\u5b8c\u6210\u542f\u52a8\uff0c\u4f46\u662f\u8c03\u7528 Bean\u9884\u70ed\u7f13\u5b58\u4e5f\u662f\u53ef\u4ee5\u7684\u3002\u4f46\u662f\u6ce8\u610f\uff1a\u4e0d\u8981\u5728 Bean\u521d\u59cb\u5316\u65f6 \u4f7f\u7528 Spring Event\uff0c\u56e0\u4e3a\u5b83\u8fd8\u672a\u5b8c\u6210\u521d\u59cb\u5316 \u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 18px;\"><span style=\"display: none;\"><\/span>\u56de\u7b54 \u5173\u4e8e Spring \u542f\u52a8\u539f\u7406\u7684\u82e5\u5e72\u95ee\u9898<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">1.init-method\u3001PostConstruct\u3001afterPropertiesSet \u4e09\u4e2a\u65b9\u6cd5\u7684\u6267\u884c\u987a\u5e8f\u3002<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u56de\u7b54\uff1a<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">PostConstruct<\/code>\uff0c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">afterPropertiesSet<\/code>\uff0c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">init-method<\/code><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">2.\u6709\u4e24\u4e2a Bean\u58f0\u660e\u4e86\u521d\u59cb\u5316\u65b9\u6cd5\u3002A\u4f7f\u7528 PostConstruct\u6ce8\u89e3\u58f0\u660e\uff0cB\u4f7f\u7528 init-method \u58f0\u660e\u3002Spring\u4e00\u5b9a\u5148\u6267\u884c A \u7684PostConstruct \u65b9\u6cd5\u5417\uff1f<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u56de\u7b54\uff1aSpring \u4f1a\u5faa\u73af\u521d\u59cb\u5316Bean\u5b9e\u4f8b\uff0c\u521d\u59cb\u5316\u5b8c\u62101\u4e2aBean\uff0c\u518d\u521d\u59cb\u5316\u4e0b\u4e00\u4e2aBean\u3002Spring\u5e76\u6ca1\u6709\u4f7f\u7528\u8fd9\u79cd\u673a\u5236\u542f\u52a8\uff0c\u5373\u6240\u6709\u7684Bean\u5148\u6267\u884c <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">PostConstruct<\/code>\uff0c\u518d\u7edf\u4e00\u6267\u884c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">afterProperfiesSet<\/code>\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6b64\u5916\uff0cA\u3001B\u4e24\u4e2aBean\u7684\u521d\u59cb\u5316\u987a\u5e8f\u4e0d\u786e\u5b9a\uff0c\u8c01\u5148\u8c01\u540e\u4e0d\u786e\u5b9a\u3002\u65e0\u6cd5\u4fdd\u8bc1 A \u7684<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">PostConstruct<\/code> \u4e00\u5b9a\u5148\u6267\u884c\u3002\u9664\u975e\u4f7f\u7528 Order\u6ce8\u89e3\uff0c\u58f0\u660eBean\u7684\u521d\u59cb\u5316\u987a\u5e8f\uff01<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">3.Spring \u4f55\u65f6\u88c5\u914dAutowire\u5c5e\u6027\uff0cPostConstruct\u65b9\u6cd5\u4e2d\u5f15\u7528 Autowired \u5b57\u6bb5\u662f\u5426\u4f1a\u7a7a\u6307\u9488?<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">Autowired\u88c5\u914d\u4f9d\u8d56\u53d1\u751f\u5728 <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">PostConstruct<\/code>\u4e4b\u524d\uff0c\u4e0d\u4f1a\u51fa\u73b0\u7a7a\u6307\u9488\uff01<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">4.PostConstruct \u4e2d\u65b9\u6cd5\u4f9d\u8d56ApplicationContextAware\u62ff\u5230 ApplicationContext\uff0c\u4e24\u8005\u7684\u987a\u5e8f\u8c01\u5148\u8c01\u540e\uff1f\u662f\u5426\u4f1a\u51fa\u73b0\u7a7a\u6307\u9488!<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">ApplicationContextAware<\/code> \u4f1a\u5148\u6267\u884c\uff0c\u4e0d\u4f1a\u51fa\u73b0\u7a7a\u6307\u9488\uff01\u4f46\u662f\u5f53Autowired\u6ca1\u6709\u627e\u5230\u5bf9\u5e94\u7684\u4f9d\u8d56\uff0c\u5e76\u4e14\u58f0\u660e\u4e86\u975e\u5f3a\u5236\u4f9d\u8d56\u65f6\uff0c\u8be5\u5b57\u6bb5\u4f1a\u4e3a\u7a7a\uff0c\u6709\u6f5c\u5728 \u7a7a\u6307\u9488\u98ce\u9669\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">5.\u9879\u76ee\u5e94\u8be5\u5982\u4f55\u76d1\u542c Spring \u7684\u542f\u52a8\u5c31\u7eea\u4e8b\u4ef6\u3002<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u901a\u8fc7<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">SmartLifecyle start<\/code>\u65b9\u6cd5\uff0c\u76d1\u542cSpring\u5c31\u7eea \u3002\u9002\u5408\u5728\u6b64\u5f00\u542f\u5165\u53e3\u6d41\u91cf\uff01<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">6.\u9879\u76ee\u5982\u4f55\u76d1\u542cSpring \u5237\u65b0\u4e8b\u4ef6\u3002<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u76d1\u542c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">Spring Event ContextRefreshedEvent<\/code><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">7.Spring\u5c31\u7eea\u4e8b\u4ef6\u548c\u5237\u65b0\u4e8b\u4ef6\u7684\u6267\u884c\u987a\u5e8f\u548c\u533a\u522b\u3002<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">Spring\u5c31\u7eea\u4e8b\u4ef6\u4f1a\u5148\u4e8e \u5237\u65b0\u4e8b\u4ef6\u3002\u4e24\u8005\u90fd\u53ef\u80fd\u591a\u6b21\u6267\u884c\uff0c\u8981\u786e\u4fdd\u65b9\u6cd5\u7684\u5e42\u7b49\u5904\u7406\uff0c\u907f\u514d\u91cd\u590d\u6ce8\u518c\u95ee\u9898<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">8.Http \u6d41\u91cf\u5165\u53e3\u4f55\u65f6\u542f\u52a8\u5b8c\u6210\u3002<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">SpringBoot \u6700\u540e\u9636\u6bb5\uff0c\u542f\u52a8\u5b8c\u6210Spring \u4e0a\u4e0b\u6587\uff0c\u624d\u5f00\u542fHttp\u5165\u53e3\u6d41\u91cf\uff0c\u6b64\u65f6 SmartLifecycle#start \u5df2\u6267\u884c\u3002\u6240\u6709\u5355\u4f8bBean\u548cSpringEvent\u7b49\u7ec4\u4ef6\u90fd\u5df2\u7ecf\u5c31\u7eea\uff01<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">9.\u9879\u76ee\u4e2d\u5728 init-method \u65b9\u6cd5\u4e2d\u6ce8\u518c Rpc\u662f\u5426\u5408\u7406\uff1f\u4ec0\u4e48\u662f\u5408\u7406\u7684\u65f6\u673a\uff1f<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">init \u5f00\u542fRpc\u6d41\u91cf\u975e\u5e38\u4e0d\u5408\u7406\u3002\u56e0\u4e3aSpring\u5c1a\u672a\u542f\u52a8\u5b8c\u6210\uff0c\u5305\u62ec Spring Event\u5c1a\u672a\u5c31\u7eea\uff01<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">10.\u9879\u76ee\u4e2d\u5728 init-method \u65b9\u6cd5\u4e2d\u6ce8\u518c MQ\u6d88\u8d39\u7ec4\u662f\u5426\u5408\u7406\uff1f\u4ec0\u4e48\u662f\u5408\u7406\u7684\u65f6\u673a\uff1f<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">init \u5f00\u542f MQ \u6d41\u91cf\u975e\u5e38\u4e0d\u5408\u7406\u3002\u56e0\u4e3aSpring\u5c1a\u672a\u542f\u52a8\u5b8c\u6210\uff0c\u5305\u62ec Spring Event\u5c1a\u672a\u5c31\u7eea\uff01<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\"><strong style=\"color: black;\">11.Spring\u8fd8\u672a\u5b8c\u5168\u542f\u52a8\uff0c\u5728 PostConstruct \u4e2d\u8c03\u7528 getBeanByAnnotation\u80fd\u5426\u83b7\u5f97\u51c6\u786e\u7684\u7ed3\u679c\uff1f<\/strong><\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u867d\u7136\u672a\u542f\u52a8\u5b8c\u6210\uff0c\u4f46\u662fSpring\u6267\u884c\u8be5<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">getBeanByAnnotation<\/code>\u65b9\u6cd5\u65f6\uff0c\u4f1a\u7387\u5148\u68c0\u67e5 Bean\u5b9a\u4e49\uff0c\u5982\u679cBean\u5b9a\u4e49\u5bf9\u5e94\u7684 Bean\u5c1a\u672a\u521d\u59cb\u5316\uff0c\u5219\u521d\u59cb\u5316\u8fd9\u4e9bBean\u3002\u6240\u4ee5\u5373\u4fbf\u662fSpring\u521d\u59cb\u5316\u8fc7\u7a0b\u4e2d\u8c03\u7528\uff0c\u8c03\u7528\u7ed3\u679c\u662f\u51c6\u786e\u7684\u3002<\/p>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 18px;\"><span style=\"display: none;\"><\/span>\u6e90\u7801\u7ea7\u522b\u4ecb\u7ecd<\/h2>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 17px;\"><span style=\"display: none;\"><\/span>SmartInitializingSingleton \u63a5\u53e3\u7684\u6267\u884c\u4f4d\u7f6e<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u4e0b\u56fe\u4ee3\u7801\u8bf4\u660e\u4e86\uff0cSpring\u5728\u521d\u59cb\u5316\u5168\u90e8 \u5355\u4f8bBean\u4ee5\u540e\uff0c\u4f1a\u6267\u884c <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">SmartInitializingSingleton<\/code> \u63a5\u53e3\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100061593\" data-ratio=\"0.8555555555555555\"  data-type=\"other\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100061593\" data-ratio=\"0.8555555555555555\"  data-type=\"other\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: #888;font-size: 14px;\"><\/figcaption><\/figure>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 17px;\"><span style=\"display: none;\"><\/span>Autowired \u4f55\u65f6\u88c5\u914dBean\u7684\u4f9d\u8d56<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u5728Bean\u5b9e\u4f8b\u5316\u4e4b\u540e\uff0c\u4f46\u521d\u59cb\u5316\u4e4b\u524d\uff0c<code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">AutowiredAnnotationBeanPostProcessor<\/code> \u4f1a\u6ce8\u5165Autowired\u5b57\u6bb5\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100061592\" data-ratio=\"0.12222222222222222\"  data-type=\"other\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100061592\" data-ratio=\"0.12222222222222222\"  data-type=\"other\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: #888;font-size: 14px;\"><\/figcaption><\/figure>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 17px;\"><span style=\"display: none;\"><\/span>SpringBoot \u4f55\u65f6\u5f00\u542fHttp\u7aef\u53e3<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u4e0b\u56fe\u4ee3\u7801\u4e2d\u53ef\u4ee5\u770b\u5230\uff0cSpringBoot\u4f1a\u9996\u5148\u542f\u52a8 Spring\u4e0a\u4e0b\u6587\uff0c\u5b8c\u6210\u540e\u624d\u542f\u52a8 \u5d4c\u5165\u5f0fWeb\u5bb9\u5668\uff0c\u521d\u59cb\u5316SpringMVC\uff0c\u76d1\u542c\u7aef\u53e3<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100061594\" data-ratio=\"0.4638888888888889\"  data-type=\"other\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100061594\" data-ratio=\"0.4638888888888889\"  data-type=\"other\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: #888;font-size: 14px;\"><\/figcaption><\/figure>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 17px;\"><span style=\"display: none;\"><\/span>Spring \u521d\u59cb\u5316Bean\u7684\u5173\u952e\u4ee3\u7801<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u4e0b\u56fe\u6211\u52a0\u4e86\u6ce8\u91ca\uff0cSpring\u521d\u59cb\u5316Bean\u7684\u5173\u952e\u4ee3\u7801\uff0c\u5168\u5728 \u8fd9\u4e2a\u65b9\u6cd5\u91cc\uff0c\u611f\u5174\u8da3\u7684\u53ef\u4ee5\u81ea\u884c\u67e5\u9605\u4ee3\u7801 \u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">AbstractAutowireCapableBeanFactory#initializeBean<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100061598\" data-ratio=\"0.5664335664335665\"  data-type=\"other\" data-w=\"1001\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100061598\" data-ratio=\"0.5664335664335665\"  data-type=\"other\" data-w=\"1001\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: #888;font-size: 14px;\"><\/figcaption><\/figure>\n<h4 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 17px;\"><span style=\"display: none;\"><\/span>Spring CommandLineRunner \u6267\u884c\u4f4d\u7f6e<span style=\"display: none;\"><\/span><\/h4>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">Spring Boot\u5916\u90e8\uff0c\u5f53\u542f\u52a8\u5b8cSpring\u4e0a\u4e0b\u6587\u4ee5\u540e\uff0c\u6700\u540e\u624d\u542f\u52a8 <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">CommandLineRunner<\/code>\u3002<\/p>\n<figure data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 10px;margin-bottom: 10px;display: flex;flex-direction: column;justify-content: center;align-items: center;\"><img decoding=\"async\" class=\"rich_pages wxw-img lazyload\" data-imgfileid=\"100061597\" data-ratio=\"0.4462962962962963\"  data-type=\"other\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><noscript><img decoding=\"async\" class=\"rich_pages wxw-img\" data-imgfileid=\"100061597\" data-ratio=\"0.4462962962962963\"  data-type=\"other\" data-w=\"1080\" style=\"display: block;margin-right: auto;margin-left: auto;\" src=\"\"  \/><\/noscript><figcaption style=\"margin-top: 5px;text-align: center;color: #888;font-size: 14px;\"><\/figcaption><\/figure>\n<h2 data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"margin-top: 30px;margin-bottom: 15px;font-weight: bold;color: rgb(255, 169, 0);font-size: 18px;\"><span style=\"display: none;\"><\/span>\u603b\u7ed3<\/h2>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">SpringBoot \u4f1a\u5728Spring\u5b8c\u5168\u542f\u52a8\u5b8c\u6210\u540e\uff0c\u624d\u5f00\u542fHttp\u6d41\u91cf\u3002\u8fd9\u7ed9\u4e86\u6211\u4eec\u542f\u793a\uff1a\u5e94\u8be5\u5728Spring\u542f\u52a8\u5b8c\u6210\u540e\u5f00\u542f\u5165\u53e3\u6d41\u91cf\u3002Rpc\u548c MQ\u6d41\u91cf \u4e5f\u5e94\u8be5\u5982\u6b64\uff0c\u6240\u4ee5\u5efa\u8bae\u5927\u5bb6 \u5728 <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">SmartLifecype<\/code> \u6216\u8005 <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">ContextRefreshedEvent<\/code> \u7b49\u4f4d\u7f6e \u6ce8\u518c\u670d\u52a1\uff0c\u5f00\u542f\u6d41\u91cf\u3002<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u4f8b\u5982Spring Cloud Eureka \u670d\u52a1\u53d1\u73b0\u7ec4\u4ef6\uff0c\u5c31\u662f\u5728 <code style=\"font-size: 14px;padding: 2px 4px;border-radius: 4px;margin-right: 2px;margin-left: 2px;background-color: rgba(27, 31, 35, 0.05);font-family: &quot;Operator Mono&quot;, Consolas, Monaco, Menlo, monospace;word-break: break-all;color: rgb(0, 128, 255);\">SmartLifecype<\/code>\u4e2d\u6ce8\u518c\u670d\u52a1\u7684\uff01<\/p>\n<p data-tool=\"mdnice\u7f16\u8f91\u5668\" style=\"padding-top: 8px;padding-bottom: 8px;line-height: 26px;font-size: 15px;color: rgb(74, 74, 74);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\u6574\u740610 \u4e2a\u5c0f\u65f6\u5199\u5b8c\u672c\u7bc7\u6587\u7ae0\uff0c\u5e0c\u671b\u5927\u5bb6\u6709\u6240\u6536\u83b7\u3002<\/p>\n<\/section>\n<section style=\"margin-bottom: 0px;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;text-wrap: wrap;letter-spacing: 0.578px;background-color: rgb(255, 255, 255);line-height: 3em;visibility: visible;\"><strong style=\"color: rgb(51, 51, 51);font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;letter-spacing: 0.578px;\"><\/strong><\/section>\n<section style=\"margin-bottom: 0px;white-space: pre-wrap;outline: 0px;color: rgb(62, 62, 62);font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 14px;font-weight: 700;letter-spacing: 0.544px;orphans: 4;widows: 1;word-spacing: 2px;caret-color: rgb(163, 163, 163);background-color: rgb(255, 255, 255);text-align: center;\"><span style=\"outline: 0px;font-size: 18px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\ud83d\udd25<\/span><span style=\"outline: 0px;font-size: 18px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;color: rgb(0, 0, 0);\">\u78ca\u54e5\u79c1\u85cf\u7cbe\u54c1 \u70ed\u95e8\u63a8\u8350<\/span><span style=\"outline: 0px;font-size: 18px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;\">\ud83d\udd25<\/span><\/section>\n<section style=\"margin-bottom: 0px;letter-spacing: 0.578px;text-wrap: wrap;outline: 0px;font-family: system-ui, -apple-system, BlinkMacSystemFont, &quot;Helvetica Neue&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei UI&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;caret-color: rgba(0, 0, 0, 0.9);text-size-adjust: inherit;background-color: rgb(255, 255, 255);text-align: left;\"><a target=\"_blank\" href=\"https:\/\/mp.weixin.qq.com\/s?__biz=MzI4NTM1NDgwNw==&amp;mid=2247543189&amp;idx=1&amp;sn=05447d95b3d8e7b0782103076c3277f6&amp;scene=21#wechat_redirect\" textvalue=\"\u78ca\u54e5\u8054\u5408\u516c\u53f8\u5408\u4f19\u4eba\uff0c\u4e00\u7ebf\u5927\u5382\u5728\u804c\u67b6\u6784\u5e08\u8017\u65f69\u4e2a\u6708\u8054\u5408\u6253\u9020\u4e86\u300a2024\u5e74Java\u9ad8\u7ea7\u67b6\u6784\u5e08\u8bfe\u7a0b\u300b\u672c\u8bfe\u7a0b\u5bf9\u6807\u5916\u97623\u4e07\u5de6\u53f3\u7684\u67b6\u6784\u57f9\u8bad\u8bfe\u7a0b\uff0c\u520610\u4e2a\u9636\u6bb5\uff0c\u76ee\u524d\u5df2\u7ecf\u66f4\u65b0\u4e86181G\u89c6\u9891\uff0c\u5df2\u7ecf\u66f4\u65b01000+\u4e2a\u5c0f\u65f6\u89c6\u9891\uff0c\u4e00\u6b21\u8d2d\u4e70\uff0c\u6301\u7eed\u66f4\u65b0\uff0c\u65e0\u97002\u6b21\u4ed8\u8d39\" linktype=\"text\" imgurl=\"\" imgdata=\"null\" tab=\"innerlink\" data-linktype=\"2\" rel=\"noopener\" rel=\"nofollow\" ><span style=\"color: rgb(0, 0, 0);\"><span style=\"font-size: 15px;\">\u78ca\u54e5\u8054\u5408\u516c\u53f8\u5408\u4f19\u4eba\uff0c\u4e00\u7ebf\u5927\u5382\u5728\u804c\u67b6\u6784\u5e08\u8017\u65f69\u4e2a\u6708\u8054\u5408\u6253\u9020<\/span><span style=\"outline: 0px;font-family: &quot;Helvetica Neue&quot;, Helvetica, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, Arial, sans-serif;font-size: 15px;\">\u4e86<\/span><\/span><span style=\"color: rgb(0, 82, 255);outline: 0px;font-size: 15px;text-decoration: underline;\"><strong style=\"outline: 0px;\">\u300a<\/strong><strong style=\"outline: 0px;\">2024\u5e74Java\u9ad8\u7ea7\u67b6\u6784\u5e08\u8bfe\u7a0b\u300b<\/strong><\/span><span style=\"color: rgb(0, 0, 0);font-size: 15px;outline: 0px;\"><span style=\"outline: 0px;letter-spacing: 0.578px;\">\u672c\u8bfe\u7a0b\u5bf9\u6807\u5916\u97623\u4e07\u5de6\u53f3\u7684\u67b6\u6784\u57f9\u8bad\u8bfe\u7a0b\uff0c\u520610\u4e2a\u9636\u6bb5\uff0c\u76ee<\/span>\u524d\u5df2\u7ecf\u66f4\u65b0\u4e86<\/span><span style=\"outline: 0px;font-size: 15px;color: rgb(255, 41, 65);\"><strong style=\"outline: 0px;\">181G<\/strong><\/span><span style=\"color: rgb(0, 0, 0);font-size: 15px;outline: 0px;\">\u89c6\u9891\uff0c\u5df2\u7ecf\u66f4\u65b0<\/span><span style=\"outline: 0px;font-size: 15px;color: rgb(255, 41, 65);\"><strong style=\"outline: 0px;\">1000+<\/strong><\/span><span style=\"color: rgb(0, 0, 0);font-size: 15px;outline: 0px;\">\u4e2a\u5c0f\u65f6\u89c6\u9891\uff0c<\/span><span style=\"outline: 0px;font-size: 15px;color: rgb(255, 41, 65);\"><strong style=\"outline: 0px;\">\u4e00\u6b21\u8d2d\u4e70\uff0c\u6301\u7eed\u66f4\u65b0\uff0c\u65e0\u97002\u6b21\u4ed8\u8d39<\/strong><\/span><\/a><\/section>\n<p style=\"display: none;\"><mp-style-type data-value=\"3\"><\/mp-style-type><\/p>\n<blockquote>\n<p>\u672c\u7bc7\u6587\u7ae0\u6765\u6e90\u4e8e\u5fae\u4fe1\u516c\u4f17\u53f7:                 \u67b6\u6784\u5e08\u4e13\u680f              <\/p>\n<\/blockquote>\n<\/div>\n","raw":"","protected":false},"excerpt":{"rendered":"<p>\u5927\u5bb6\u597d\uff0c\u6211\u662f\u9e4f\u78ca\u3002 2024 \u5e74 Java \u67b6\u6784\u5e08\uff1a\u89c6\u9891\u8bfe\u7a0b 2024 \u5e74 Java \u8fdb\u9636\u9ad8\u7ea7\uff1a\u89c6\u9891\u8bfe\u7a0b \u867d\u7136Java\u7a0b\u5e8f\u5458\u5927\u90e8\u5206 &#8230;<\/p>\n","protected":false},"author":1,"featured_media":5090,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"emotion":"","emotion_color":"","title_style":"","license":"","footnotes":""},"categories":[7],"tags":[],"class_list":["post-5094","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-spring-boot"],"post_thumbnail_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215401181-150x150.jpeg","content_first_image":"https:\/\/mmbiz.qlogo.cn\/sz_mmbiz_jpg\/GpcH5Yqqj0mLn1nacWmKfbzossc5FI4yzwMVic4QU3IgAAaIKazHm6M0MV2icFOAlku1GToCsKNQPziadW8qictNYA\/0?wx_fmt=other&amp;from=appmsg","post_medium_image_300":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215401181-300x300.jpeg","post_thumbnail_image_624":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215401181.jpeg","post_frist_image":"https:\/\/mmbiz.qlogo.cn\/sz_mmbiz_jpg\/GpcH5Yqqj0mLn1nacWmKfbzossc5FI4yzwMVic4QU3IgAAaIKazHm6M0MV2icFOAlku1GToCsKNQPziadW8qictNYA\/0?wx_fmt=other&amp;from=appmsg","post_medium_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215401181-300x300.jpeg","post_large_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215401181.jpeg","post_full_image":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2024\/08\/20240801215401181.jpeg","post_all_images":[{"imagesurl":"https:\/\/mmbiz.qlogo.cn\/sz_mmbiz_jpg\/GpcH5Yqqj0mLn1nacWmKfbzossc5FI4yzwMVic4QU3IgAAaIKazHm6M0MV2icFOAlku1GToCsKNQPziadW8qictNYA\/0?wx_fmt=other&amp;from=appmsg","id":"image0"},{"imagesurl":"https:\/\/mmbiz.qlogo.cn\/sz_mmbiz_jpg\/GpcH5Yqqj0mLn1nacWmKfbzossc5FI4yzwMVic4QU3IgAAaIKazHm6M0MV2icFOAlku1GToCsKNQPziadW8qictNYA\/0?wx_fmt=other&amp;from=appmsg","id":"image1"},{"imagesurl":"","id":"image2"},{"imagesurl":"","id":"image3"},{"imagesurl":"","id":"image4"},{"imagesurl":"","id":"image5"},{"imagesurl":"","id":"image6"},{"imagesurl":"","id":"image7"},{"imagesurl":"","id":"image8"},{"imagesurl":"","id":"image9"},{"imagesurl":"","id":"image10"},{"imagesurl":"","id":"image11"},{"imagesurl":"","id":"image12"},{"imagesurl":"","id":"image13"},{"imagesurl":"","id":"image14"},{"imagesurl":"","id":"image15"}],"videoAdId":"","listAd":"0","listAdId":"","listAdEvery":6,"total_comments":0,"category_name":"Spring Boot","post_date":"2024-08-01","like_count":"0","praiseWord":"\u9f13\u52b1","copyright_state":"","excitationAd":"0","rewardedVideoAdId":"","detailAdId":"","detailAd":"0","enterpriseMinapp":"0","audios":[],"postImageUrl":"https:\/\/wp-moto-1258805347.cos.ap-shanghai.myqcloud.com\/2023\/05\/20230519082947553.jpg","avatarurls":[],"related_posts":null,"pageviews":829,"next_post_id":4855,"next_post_title":"SpringBoot \u540c\u65f6\u53ef\u4ee5\u5904\u7406\u591a\u5c11\u4e2a\u8bf7\u6c42\uff1f","previous_post_id":4842,"previous_post_title":"\u9762\u8bd5\u7bc7\uff1aRedis \u5206\u5e03\u5f0f\u9501\u7684\u6b63\u786e\u5b9e\u73b0\u65b9\u5f0f","_links":{"self":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/5094","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/comments?post=5094"}],"version-history":[{"count":1,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/5094\/revisions"}],"predecessor-version":[{"id":6320,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/posts\/5094\/revisions\/6320"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media\/5090"}],"wp:attachment":[{"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/media?parent=5094"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/categories?post=5094"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/xinchewhd.com.cn\/index.php\/wp-json\/wp\/v2\/tags?post=5094"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}