2024-12-15 11:36:22 +08:00
<mxfile host="65bd71144e">
<diagram id="QJ9SYQZkHZ_Pkl1wdixx" name="第 1 页">
2024-12-15 12:10:11 +08:00
<mxGraphModel dx="947" dy="354" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
2024-12-15 11:36:22 +08:00
<root>
<mxCell id="0"/>
<mxCell id="1" parent="0"/>
<mxCell id="19" style="edgeStyle=none;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;" edge="1" parent="1" source="18">
<mxGeometry relative="1" as="geometry">
<mxPoint x="423" y="280" as="targetPoint"/>
</mxGeometry>
</mxCell>
<mxCell id="20" value="对象注册" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="19">
<mxGeometry x="0.1852" y="-4" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="18" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="30" y="350" width="785" height="130" as="geometry"/>
</mxCell>
<mxCell id="2" value="" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="25" y="100" width="785" height="180" as="geometry"/>
</mxCell>
<mxCell id="23" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.5;exitY=0;exitDx=0;exitDy=0;entryX=0.309;entryY=0.991;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="4" target="2">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="24" value="get token service Impl" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="23">
<mxGeometry x="0.1968" y="-2" relative="1" as="geometry">
<mxPoint as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="4" value="<div style="color: rgb(248, 248, 242); background-color: rgb(39, 40, 34); font-family: &quot;Cascadia Code NF&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace, Menlo, Monaco, &quot;Courier New&quot;, monospace; line-height: 18px;"><span style="color: rgb(166, 226, 46); text-decoration-line: underline;">TokenApiHandler</span></div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="207.5" y="380" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="8" value="<div style="color: rgb(248, 248, 242); background-color: rgb(39, 40, 34); font-family: &quot;Cascadia Code NF&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace, Menlo, Monaco, &quot;Courier New&quot;, monospace; line-height: 18px;"><span style="color: rgb(166, 226, 46); text-decoration-line: underline;">BlogApiHandler</span></div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="517.5" y="380" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="25" style="edgeStyle=orthogonalEdgeStyle;html=1;exitX=0.75;exitY=0;exitDx=0;exitDy=0;entryX=0.551;entryY=0.997;entryDx=0;entryDy=0;entryPerimeter=0;" edge="1" parent="1" source="10" target="2">
<mxGeometry relative="1" as="geometry"/>
</mxCell>
<mxCell id="26" value="get user service impl" style="edgeLabel;html=1;align=center;verticalAlign=middle;resizable=0;points=[];" vertex="1" connectable="0" parent="25">
<mxGeometry x="0.225" y="-1" relative="1" as="geometry">
<mxPoint x="51" as="offset"/>
</mxGeometry>
</mxCell>
<mxCell id="10" value="<div style="color: rgb(248, 248, 242); background-color: rgb(39, 40, 34); font-family: &quot;Cascadia Code NF&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace, Menlo, Monaco, &quot;Courier New&quot;, monospace; line-height: 18px;"><span style="color: rgb(166, 226, 46); text-decoration-line: underline;">TokenServiceImpl</span></div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="367.5" y="380" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="11" value="<div style="color: rgb(248, 248, 242); background-color: rgb(39, 40, 34); font-family: &quot;Cascadia Code NF&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace, Menlo, Monaco, &quot;Courier New&quot;, monospace; line-height: 18px;"><div style="line-height: 18px;"><span style="color: rgb(166, 226, 46); text-decoration-line: underline;">BlogServiceImpl</span></div></div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="667.5" y="380" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="12" value="<div style="color: rgb(248, 248, 242); background-color: rgb(39, 40, 34); font-family: &quot;Cascadia Code NF&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace, Menlo, Monaco, &quot;Courier New&quot;, monospace; line-height: 18px;"><span style="color: rgb(166, 226, 46); text-align: left; text-decoration-line: underline;">UserServiceImpl</span><br></div><div style="color: rgb(248, 248, 242); background-color: rgb(39, 40, 34); font-family: &quot;Cascadia Code NF&quot;, Menlo, Monaco, &quot;Courier New&quot;, monospace, Menlo, Monaco, &quot;Courier New&quot;, monospace; line-height: 18px;"><span style="color: rgb(166, 226, 46); text-align: left; text-decoration-line: underline;">name: user</span></div>" style="rounded=0;whiteSpace=wrap;html=1;" vertex="1" parent="1">
<mxGeometry x="57.5" y="380" width="120" height="60" as="geometry"/>
</mxCell>
<mxCell id="13" value="ioc:&nbsp;&nbsp;<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif; font-size: 13px; text-align: start; background-color: rgb(255, 255, 255);">Inversion of Control, 缩写为</span><span style="color: rgb(247, 49, 49); font-family: Arial, sans-serif; font-size: 13px; text-align: start; background-color: rgb(255, 255, 255);">IoC</span>" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="311.25" y="60" width="232.5" height="30" as="geometry"/>
</mxCell>
<mxCell id="27" value="Text" style="text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;rounded=0;" vertex="1" parent="1">
<mxGeometry x="400" y="400" width="60" height="30" as="geometry"/>
</mxCell>
2024-12-15 12:10:11 +08:00
<mxCell id="29" value="<h1>对象生命周期</h1><p>1. 对象注册</p><p>2. 对象配置(通过配置文件读取)</p><p>3. 初始化(基础属性, 依然依赖)</p><p>程序运行中 。。。。。。</p><p>4. 对象的销毁(销毁依赖资源,比如数据库连接,&nbsp; conn)</p><p>程序退出 。。。</p>" style="text;html=1;strokeColor=none;fillColor=none;spacing=5;spacingTop=-20;whiteSpace=wrap;overflow=hidden;rounded=0;" vertex="1" parent="1">
2024-12-15 11:36:22 +08:00
<mxGeometry x="30" y="500" width="200" height="230" as="geometry"/>
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>