diff --git a/second/week_07/70/spring-aop.puml b/second/week_07/70/spring-aop.puml new file mode 100644 index 0000000000000000000000000000000000000000..efab965ea4831c0d1d00c0cceaa1966ef94556de --- /dev/null +++ b/second/week_07/70/spring-aop.puml @@ -0,0 +1,5 @@ +'spring-aop流程图,待完善与补充 +@startuml +AbstractAutowireCapableBeanFactory -> AbstractAutowireCapableBeanFactory: doCreateBean +AbstractAutowireCapableBeanFactory -> AbstractAutowireCapableBeanFactory: initalizeBean +@enduml \ No newline at end of file diff --git a/second/week_07/70/spring-di.puml b/second/week_07/70/spring-di.puml new file mode 100644 index 0000000000000000000000000000000000000000..1a703af375e73146199a3da8f94830e405d18ae3 --- /dev/null +++ b/second/week_07/70/spring-di.puml @@ -0,0 +1,8 @@ +'spring-di流程图,待完善与补充 +@startuml +BeanFactory -> AbstractBeanFactory: getBean +AbstractBeanFactory -> AbstractBeanFactory: doGetBean +AbstractAutowireCapableBeanFactory -> AbstractAutowireCapableBeanFactory: doCreateBean + + +@enduml \ No newline at end of file diff --git a/second/week_07/70/spring-ioc.puml b/second/week_07/70/spring-ioc.puml new file mode 100644 index 0000000000000000000000000000000000000000..ea09009d878a21bd0cf89c5bd12ebb09d0564352 --- /dev/null +++ b/second/week_07/70/spring-ioc.puml @@ -0,0 +1,9 @@ +'spring-ioc流程图,待完善与补充 +@startuml +ClassPathXmlApplicationContext -> AbstractApplicationContext: refresh +AbstractApplicationContext -> AbstractApplicationContext: obtainRefshBeanFactory +AbstractApplicationContext -> AbstractRefshableApplicationContext: refreshBeanFactory +AbstractRefshableApplicationContext -> AbstractXmlApplicationContext: loadBeanDefintions +AbstractXmlApplicationContext -> AbstractXmlApplicationContext: loadBeanDefintions + +@enduml \ No newline at end of file diff --git a/second/week_07/70/spring-mvc.puml b/second/week_07/70/spring-mvc.puml new file mode 100644 index 0000000000000000000000000000000000000000..e9c1ed24ad34f609e7ec6f46a2f1c69919c1ae78 --- /dev/null +++ b/second/week_07/70/spring-mvc.puml @@ -0,0 +1,13 @@ +@startuml +DispatcherServlet -> HandleMapping: 请求获取handler +HandleMapping -> HandleMapping: 查找对应的Handler +HandleMapping --> DispatcherServlet: HandlerExceptionChain +HandleMapping -> HandlerAdapter: 请求执行handler +HandlerAdapter -> Handler:执行handler +Handler -> Handler: 调用方法执行业务 +Handler --> HandlerAdapter: ModelAndView +HandlerAdapter --> DispatcherServlet: ModelAndView +DispatcherServlet -> ViewResolver: 查找对应的视图 +ViewResolver --> DispatcherServlet:返回视图处理结果 +DispatcherServlet -> DispatcherServlet: 渲染界面 +@enduml \ No newline at end of file