Context: |
Application framework is responsible for initializing some resources and make them globally available (e.g. to each other), but does not - itself - use them. |
||||||||
Challenge: |
To make each resource ready on time (without applying the singleton pattern). |
||||||||
Skill: |
|||||||||
Participants: |
|
||||||||
Signature: |
Initialization Manager references Resource Initializers, each referencing a Resource. Resource typically creates a Resource Initializer which typically registers itself at the Initialization Manager. The application-Framework uses the (singleton) Initialization Manager. |
||||||||
Used patterns and idioms: |
Command, Singleton. |
||||||||
Used by: |
generalized application frameworks. |
||||||||
Scope: |
General (infrastructure). |