This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.1.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
commit 73ff5245d513cc3a85407bb15c22eea6efb99a9e Author: Mark Thomas <ma...@apache.org> AuthorDate: Mon Sep 2 14:20:51 2024 +0100 Switch diagram 1 to use PlantUML --- webapps/docs/architecture/startup/1_overview.png | Bin 73297 -> 45967 bytes webapps/docs/architecture/startup/1_overview.uml | 105 +++++++++++++++++++++++ webapps/docs/architecture/startup/1_overview.vpd | 1 - 3 files changed, 105 insertions(+), 1 deletion(-) diff --git a/webapps/docs/architecture/startup/1_overview.png b/webapps/docs/architecture/startup/1_overview.png index 5f0d8737d6..c35fc974bf 100644 Binary files a/webapps/docs/architecture/startup/1_overview.png and b/webapps/docs/architecture/startup/1_overview.png differ diff --git a/webapps/docs/architecture/startup/1_overview.uml b/webapps/docs/architecture/startup/1_overview.uml new file mode 100644 index 0000000000..6c55c1c9b4 --- /dev/null +++ b/webapps/docs/architecture/startup/1_overview.uml @@ -0,0 +1,105 @@ +@startuml + +' Licensed to the Apache Software Foundation (ASF) under one or more +' contributor license agreements. See the NOTICE file distributed with +' this work for additional information regarding copyright ownership. +' The ASF licenses this file to You under the Apache License, Version 2.0 +' (the "License"); you may not use this file except in compliance with +' the License. You may obtain a copy of the License at +' +' http://www.apache.org/licenses/LICENSE-2.0 +' +' Unless required by applicable law or agreed to in writing, software +' distributed under the License is distributed on an "AS IS" BASIS, +' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +' See the License for the specific language governing permissions and +' limitations under the License. + +hide footbox +skinparam style strictuml + +activate Bootstrap +Bootstrap -> Bootstrap: initClassLoaders() + +Bootstrap -->> Catalina ** : newInstance() + +Bootstrap -> Catalina: setParentClassLoader() +activate Catalina +||| +Bootstrap <<-- Catalina: +deactivate Catalina + +Bootstrap -> Catalina: start() +activate Catalina + +Catalina -> Catalina: load() +activate Catalina + +Catalina -> Catalina: initNaming() + +Catalina -> Catalina: parseServerXml() +activate Catalina + +Catalina -->> Digester ** : +note right of Digester + The digester creates all + of the objects defined in + //server.xml// but only the + Server is shown here for + simplicity +end note + +Catalina -> Digester: parse() +activate Digester +||| + +Digester -->> Server ** : + +Catalina <<-- Digester: +deactivate Digester + +Catalina -->> Catalina: +deactivate Catalina + +Catalina -> Catalina: initStream() + +Catalina -> Server: init() +activate Server +||| +Catalina <<-- Server: +deactivate Server + +Catalina -->> Catalina: +deactivate Catalina + +Catalina -> Server: start() +activate Server +Catalina <<-- Server: + +Catalina -> Catalina: await() +activate Catalina +note right of Catalina + This is where Tomcat spends + time serving requests +end note +Catalina -->> Catalina: +deactivate Catalina + +Catalina -> Catalina: stop() +activate Catalina + +Catalina -> Server: stop() +Catalina <<-- Server: + +Catalina -> Server: destroy() +Catalina <<-- Server: +deactivate Server + +Catalina -->> Catalina: +deactivate Catalina + +Bootstrap <<-- Catalina: +deactivate Catalina + +deactivate Bootstrap +@enduml \ No newline at end of file diff --git a/webapps/docs/architecture/startup/1_overview.vpd b/webapps/docs/architecture/startup/1_overview.vpd deleted file mode 100644 index aa619ca7bb..0000000000 --- a/webapps/docs/architecture/startup/1_overview.vpd +++ /dev/null @@ -1 +0,0 @@ -3cU2FsdmGVkX1G9lGiDGWIZePui7nIAiLz8pDroYNYtiSY/PFf1Mc=m8sqgIz5FbyD9nX9nb0Sae+5K7EEHK6RDaeQ6Elk40MURCeLHRyntwSfkMtsBA7nPw/x+R60gdX8/fq6y+KSoib1HzcyJb/tFUt2ABlU5ZQo0fie6al/VJCSRALcwgrRmuDjGFK8EIXCOjj//EeARnwcsVt9zuht4iKqQ5cfMz1pEWpRWZkYsAtiT72xCgFbzMV2guoYrVXBsrGM+CmZi59xV+EbFg9jfYwdAwLifyO4HsoqvGGPSUUtmr58bm7cZu7UOMDKbTtjwcscz3vs2yDv1QkswATo40ChiJiw1T4Q2YFz9YAjSNZ8INIrDKWnESG3q4cyhfcAa2ENwQayXbd4buwuQhII2UgNEE+K9m3iTfXzEgPUzoMUfUfGUXytL3yRWGXdc4d7qZHTrFjceW+59hsRlJemeTAgEs5VVfYPzs5jn2rrap [...] \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org