You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2020/12/06 07:02:20 UTC

[karaf] branch master updated: Updated CDI example README.md

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/karaf.git


The following commit(s) were added to refs/heads/master by this push:
     new 3aa5f40  Updated CDI example README.md
3aa5f40 is described below

commit 3aa5f40456e1012768828b9dcb071be117abd9a0
Author: jbonofre <jb...@apache.org>
AuthorDate: Sun Dec 6 08:02:08 2020 +0100

    Updated CDI example README.md
---
 examples/karaf-cdi-example/README.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/examples/karaf-cdi-example/README.md b/examples/karaf-cdi-example/README.md
index 35b7f90..a93da91 100644
--- a/examples/karaf-cdi-example/README.md
+++ b/examples/karaf-cdi-example/README.md
@@ -29,6 +29,7 @@ In this example, we are using Aries CDI and OpenWebBeans as CDI container.
 
 ## Artifacts
 
+* `karaf-cdi-example-api` provides API (interface) shared between provider and consumer bundles. It allows a decoupling between interface and bean implementation.
 * `karaf-cdi-example-provider` provides an application scope bean and using the `@Service` annotation to register the bean in the Karaf service registry (can be used in another bundle).
 * `karaf-cdi-example-consumer` creates another bean and inject the provider bean from the registry (thanks to the `@Reference` annotation).
 * `karaf-cdi-example-features` provides a Karaf features XML to easily install the example application.
@@ -65,4 +66,4 @@ When you install the consumer feature, you will see:
 
 ```
 Hello world
-```
\ No newline at end of file
+```