You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by ti...@apache.org on 2021/09/07 14:32:23 UTC

[aries-typedevent] branch fix/caps created (now 44856c2)

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

timothyjward pushed a change to branch fix/caps
in repository https://gitbox.apache.org/repos/asf/aries-typedevent.git.


      at 44856c2  Fix the advertised implementation capability to match the OSGi specification

This branch includes the following new commits:

     new 44856c2  Fix the advertised implementation capability to match the OSGi specification

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[aries-typedevent] 01/01: Fix the advertised implementation capability to match the OSGi specification

Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

timothyjward pushed a commit to branch fix/caps
in repository https://gitbox.apache.org/repos/asf/aries-typedevent.git

commit 44856c2f934f0842da9691c18e939e88fdaf90a6
Author: Tim Ward <ti...@apache.org>
AuthorDate: Tue Sep 7 15:31:21 2021 +0100

    Fix the advertised implementation capability to match the OSGi specification
---
 .../java/org/apache/aries/typedevent/bus/impl/TypedEventBusImpl.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org.apache.aries.typedevent.bus/src/main/java/org/apache/aries/typedevent/bus/impl/TypedEventBusImpl.java b/org.apache.aries.typedevent.bus/src/main/java/org/apache/aries/typedevent/bus/impl/TypedEventBusImpl.java
index 337ecfe..1070695 100644
--- a/org.apache.aries.typedevent.bus/src/main/java/org/apache/aries/typedevent/bus/impl/TypedEventBusImpl.java
+++ b/org.apache.aries.typedevent.bus/src/main/java/org/apache/aries/typedevent/bus/impl/TypedEventBusImpl.java
@@ -53,7 +53,7 @@ import org.osgi.service.typedevent.UntypedEventHandler;
 import org.osgi.util.converter.TypeReference;
 
 @Capability(namespace=SERVICE_NAMESPACE, attribute="objectClass:List<String>=org.osgi.service.typedevent.TypedEventBus", uses=TypedEventBus.class)
-@Capability(namespace=IMPLEMENTATION_NAMESPACE, name=TYPED_EVENT_IMPLEMENTATION, version=TYPED_EVENT_SPECIFICATION_VERSION)
+@Capability(namespace=IMPLEMENTATION_NAMESPACE, name=TYPED_EVENT_IMPLEMENTATION, version=TYPED_EVENT_SPECIFICATION_VERSION, uses=TypedEventBus.class)
 public class TypedEventBusImpl implements TypedEventBus {
 
     private static final TypeReference<List<String>> LIST_OF_STRINGS = new TypeReference<List<String>>() {