Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 771 | blopes | 1 | @startuml |
| 2 | |||
| 3 | ' Licensed to the Apache Software Foundation (ASF) under one or more |
||
| 4 | ' contributor license agreements. See the NOTICE file distributed with |
||
| 5 | ' this work for additional information regarding copyright ownership. |
||
| 6 | ' The ASF licenses this file to You under the Apache License, Version 2.0 |
||
| 7 | ' (the "License"); you may not use this file except in compliance with |
||
| 8 | ' the License. You may obtain a copy of the License at |
||
| 9 | ' |
||
| 10 | ' http://www.apache.org/licenses/LICENSE-2.0 |
||
| 11 | ' |
||
| 12 | ' Unless required by applicable law or agreed to in writing, software |
||
| 13 | ' distributed under the License is distributed on an "AS IS" BASIS, |
||
| 14 | ' WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
||
| 15 | ' See the License for the specific language governing permissions and |
||
| 16 | ' limitations under the License. |
||
| 17 | |||
| 18 | hide footbox |
||
| 19 | skinparam style strictuml |
||
| 20 | |||
| 21 | activate Bootstrap |
||
| 22 | Bootstrap -> Bootstrap: initClassLoaders() |
||
| 23 | |||
| 24 | Bootstrap -->> Catalina ** : newInstance() |
||
| 25 | |||
| 26 | Bootstrap -> Catalina ++: setParentClassLoader() |
||
| 27 | ||| |
||
| 28 | return |
||
| 29 | |||
| 30 | Bootstrap -> Catalina ++: start() |
||
| 31 | |||
| 32 | Catalina -> Catalina ++: load() |
||
| 33 | |||
| 34 | Catalina -> Catalina: initNaming() |
||
| 35 | |||
| 36 | Catalina -> Catalina ++: parseServerXml() |
||
| 37 | |||
| 38 | Catalina -->> Digester ** : |
||
| 39 | note right of Digester |
||
| 40 | The digester creates all |
||
| 41 | of the objects defined in |
||
| 42 | //server.xml// but only the |
||
| 43 | Server is shown here for |
||
| 44 | simplicity |
||
| 45 | end note |
||
| 46 | |||
| 47 | Catalina -> Digester ++: parse() |
||
| 48 | |||
| 49 | Digester -->> Server ** : |
||
| 50 | |||
| 51 | return |
||
| 52 | |||
| 53 | return |
||
| 54 | |||
| 55 | ||| |
||
| 56 | Catalina -> Catalina: initStream() |
||
| 57 | |||
| 58 | group More detail in diagram 2 |
||
| 59 | Catalina -> Server ++: init() |
||
| 60 | ||| |
||
| 61 | return |
||
| 62 | end |
||
| 63 | |||
| 64 | return |
||
| 65 | |||
| 66 | ||| |
||
| 67 | group More detail in diagram 3 |
||
| 68 | Catalina -> Server ++: start() |
||
| 69 | ||| |
||
| 70 | return |
||
| 71 | end |
||
| 72 | |||
| 73 | ||| |
||
| 74 | Catalina -> Catalina ++: await() |
||
| 75 | note right of Catalina |
||
| 76 | This is where Tomcat spends |
||
| 77 | time serving requests |
||
| 78 | end note |
||
| 79 | return |
||
| 80 | |||
| 81 | ||| |
||
| 82 | Catalina -> Catalina ++: stop() |
||
| 83 | |||
| 84 | Catalina -> Server ++: stop() |
||
| 85 | ||| |
||
| 86 | return |
||
| 87 | |||
| 88 | Catalina -> Server ++: destroy() |
||
| 89 | ||| |
||
| 90 | return |
||
| 91 | |||
| 92 | return |
||
| 93 | |||
| 94 | return |
||
| 95 | |||
| 96 | deactivate Bootstrap |
||
| 97 | @enduml |