blob: 4ef2c52fd0c99f76766173ab1bce57f61154b82a [file] [log] [blame]
Julian Halle76ade82020-11-25 03:07:21 +01001'-------------------------------------------------------------------------------
2' Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved.
3'
4' SPDX-License-Identifier: BSD-3-Clause
5'
6'-------------------------------------------------------------------------------
7
8@startuml
9
10class service_location_strategy
11{
12 {abstract} service_context query(service_name)
13}
14
15class service_locator <<singleton>>
16{
17 void init()
18 void register_strategy(strategy)
19 service_context query(service_name)
20}
21
22service_locator --> "0..*" service_location_strategy
23
24@enduml