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 Container |
||
| 22 | |||
| 23 | Container -> Container: fireLifecycleEvent(\n BEFORE_START_EVENT) |
||
| 24 | |||
| 25 | Container -> Container ++: startInternal() |
||
| 26 | |||
| 27 | Container -> Cluster ++: start() |
||
| 28 | Cluster -> Cluster: fireLifecycleEvent(\n BEFORE_START_EVENT) |
||
| 29 | Cluster -> Cluster ++: startInternal() |
||
| 30 | Cluster -> Cluster: fireLifecycleEvent(\n START_EVENT) |
||
| 31 | return |
||
| 32 | ||| |
||
| 33 | Cluster -> Cluster: fireLifecycleEvent(\n AFTER_START_EVENT) |
||
| 34 | return |
||
| 35 | |||
| 36 | Container -> Realm ++: start() |
||
| 37 | Realm -> Realm: fireLifecycleEvent(\n BEFORE_START_EVENT) |
||
| 38 | Realm -> Realm ++: startInternal() |
||
| 39 | Realm -> Realm: fireLifecycleEvent(\n START_EVENT) |
||
| 40 | return |
||
| 41 | ||| |
||
| 42 | Realm -> Realm: fireLifecycleEvent(\n AFTER_START_EVENT) |
||
| 43 | return |
||
| 44 | |||
| 45 | group Children started in parallel if startStopThreads > 1 (Engines and Hosts only) |
||
| 46 | Container -> Child ++: start() |
||
| 47 | note right of Child |
||
| 48 | Engines have Hosts as children. |
||
| 49 | Hosts have Contexts as children. |
||
| 50 | Contexts have Wrappers as children. |
||
| 51 | |||
| 52 | Children are containers so the |
||
| 53 | process on this diagram is |
||
| 54 | repeated for each child. |
||
| 55 | |||
| 56 | Contexts do a lot more in start() |
||
| 57 | as shown in diagram 5. |
||
| 58 | end note |
||
| 59 | return |
||
| 60 | end group |
||
| 61 | |||
| 62 | Container -> Pipeline ++: start() |
||
| 63 | Pipeline -> Pipeline: fireLifecycleEvent(\n BEFORE_START_EVENT) |
||
| 64 | Pipeline -> Pipeline ++: startInternal() |
||
| 65 | |||
| 66 | group Each Valve is started sequentially |
||
| 67 | Pipeline -> Valve ++: start() |
||
| 68 | Valve -> Valve: fireLifecycleEvent(\n BEFORE_START_EVENT) |
||
| 69 | Valve -> Valve ++: startInternal() |
||
| 70 | Valve -> Valve: fireLifecycleEvent(\n START_EVENT) |
||
| 71 | return |
||
| 72 | ||| |
||
| 73 | Valve -> Valve: fireLifecycleEvent(\n AFTER_START_EVENT) |
||
| 74 | return |
||
| 75 | end group |
||
| 76 | |||
| 77 | Pipeline -> Pipeline: fireLifecycleEvent(\n START_EVENT) |
||
| 78 | return |
||
| 79 | ||| |
||
| 80 | Pipeline -> Pipeline: fireLifecycleEvent(\n AFTER_START_EVENT) |
||
| 81 | return |
||
| 82 | |||
| 83 | Container -> Container: fireLifecycleEvent(\n START_EVENT) |
||
| 84 | |||
| 85 | group If backgroundProcessorDelay > 0 (Engine defaults to 10, other Containers -1) |
||
| 86 | Container -> UtilityExecutor ++: scheduleWithFixedDelay() |
||
| 87 | UtilityExecutor --> ContainerBackgroundProcessor ** |
||
| 88 | note right of ContainerBackgroundProcessor |
||
| 89 | Re-created |
||
| 90 | automatically |
||
| 91 | if it fails |
||
| 92 | end note |
||
| 93 | return |
||
| 94 | end group |
||
| 95 | |||
| 96 | ||| |
||
| 97 | Container -> Container: fireLifecycleEvent(\n AFTER_START_EVENT) |
||
| 98 | |||
| 99 | return |
||
| 100 | |||
| 101 | ||| |
||
| 102 | |||
| 103 | @enduml |