You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by rl...@apache.org on 2022/07/17 17:29:58 UTC
[celix] 02/02: Update the caption for the sequence diagrams to not be a header
This is an automated email from the ASF dual-hosted git repository.
rlenferink pushed a commit to branch fix-links
in repository https://gitbox.apache.org/repos/asf/celix.git
commit 4d89f2f93c680f14f7c98d428fe0e80b1e3cbb94
Author: Roy Lenferink <le...@gmail.com>
AuthorDate: Sun Jul 17 19:29:44 2022 +0200
Update the caption for the sequence diagrams to not be a header
Having this as italic element also allows for better readability on the website
---
documents/services.md | 25 +++++++++++++++----------
1 file changed, 15 insertions(+), 10 deletions(-)
diff --git a/documents/services.md b/documents/services.md
index 81e22a25..64336d21 100644
--- a/documents/services.md
+++ b/documents/services.md
@@ -329,21 +329,24 @@ CELIX_GEN_CXX_BUNDLE_ACTIVATOR(MyCShellCommandProviderBundleActivator)
```
### Sequence diagrams for service registration
+
![Register Service Async](diagrams/services_register_service_async_seq.png)
-A asynchronized service registration
+*An asynchronized service registration*
+
---
![Register Service Async](diagrams/services_register_service_seq.png)
-A synchronized service registration
+*A synchronized service registration*
+
---
![Unregister Service Async](diagrams/services_unregister_service_async_seq.png)
-A asynchronized service un-registration
+*An asynchronized service un-registration*
+
---
![Unregister Service Async](diagrams/services_unregister_service_seq.png)
-A synchronized service un-registration
----
+*A synchronized service un-registration*
## Using services
Services can be used directly using the bundle context C functions or C++ methods:
@@ -611,20 +614,22 @@ CELIX_GEN_CXX_BUNDLE_ACTIVATOR(TrackingCommandServicesExample)
### Sequence diagrams for service tracker and service registration
![Register Service Async](diagrams/services_tracker_services_add_async_seq.png)
-Service tracker callback with an asynchronized service registration
+*Service tracker callback with an asynchronized service registration*
+
---
![Register Service Async](diagrams/services_tracker_services_rem_async_seq.png)
-Service tracker callback with an asynchronized service un-registration
+*Service tracker callback with an asynchronized service un-registration*
+
---
![Register Service Async](diagrams/services_tracker_services_add_seq.png)
-Service tracker callback with a synchronized service registration
+*Service tracker callback with a synchronized service registration*
+
---
![Register Service Async](diagrams/services_tracker_services_rem_seq.png)
-Service tracker callback with a synchronized service un-registration
----
+*Service tracker callback with a synchronized service un-registration*
# The `celix::query` shell command
To interactively see the which service and service trackers are available the `celix::query` shell command