Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2A226200D06 for ; Mon, 25 Sep 2017 20:49:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 28CBE1609BB; Mon, 25 Sep 2017 18:49:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6B6A21609B5 for ; Mon, 25 Sep 2017 20:49:36 +0200 (CEST) Received: (qmail 77499 invoked by uid 500); 25 Sep 2017 18:49:35 -0000 Mailing-List: contact dev-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list dev@aries.apache.org Received: (qmail 77483 invoked by uid 99); 25 Sep 2017 18:49:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2017 18:49:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id E15FADC808 for ; Mon, 25 Sep 2017 18:49:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_NUMSUBJECT=0.5, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=googlemail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id XzDl76fIBoFb for ; Mon, 25 Sep 2017 18:49:33 +0000 (UTC) Received: from mail-oi0-f45.google.com (mail-oi0-f45.google.com [209.85.218.45]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id E4F7E5FC5D for ; Mon, 25 Sep 2017 18:49:32 +0000 (UTC) Received: by mail-oi0-f45.google.com with SMTP id r20so8388172oie.0 for ; Mon, 25 Sep 2017 11:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=HhPGen48q/P6MTldi1TFaekZ+10kl8UnXfwxDzABjB0=; b=jGl/Kb2ZyY0Q5BXCjgfFW7pvzl1ooR9Pm7NdJhW9uCbk1I6rtTcJYvCZnweNY9l+fH qU/pjzYRZRipuw8FmB6gleMy54CaacH6UYHcF6S9DRect6h1y1eGXxKNy8+Ox1S2OVcm jRy7QPMy6YbQiLx7DPtNN2D4Gb0rkk0V87UmMxEzmrK1rckz9eBOeMImNA8qProlDEh4 w4V4m4vknWhevmZn8R7QVu+DhXJpcdkVUviSG2gWMNWE3/ZKNm4RKNkfJAkQDwRbDU3Z mdJQ6PnxOrWErU3QPqGbkPN/dzQ/yf7tnUrreNFSA7XnSQ25AQUyZQ7yblNIkg+GlrIa IjbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=HhPGen48q/P6MTldi1TFaekZ+10kl8UnXfwxDzABjB0=; b=cvx36uQOr/Luz54RJgfQwgI2ojQZsc9NZMt7yVLYBqcVCDrV78t48TxcuWoItPb8fc FbjCypZCqMrjto0mUm7+WTsViCWAA0hG4XlpYZk+JtgVzB64EWar+69Vm8x8MRNFJSDx ZPanOuKsIuIJsSqljpjUrPa/l+lkbegeo7k5Ceie/2kiq3RritdKlg0DBo3fsdOhnip7 2pCXPQkTCcYFXydrAWMeJ1x13lUXWYzTu4AVLxjFggQyfhK9X6nuJJm2tAowty0ANMFV QONlXATXw8yqtYvne+QwbLUAwv1NrdBF5PAo/SZMcC1twy2fmDa4t2DSe6yD3l1r0mGC 18/w== X-Gm-Message-State: AHPjjUiJAePZ5R2l0oOKIS3YXFukTcpajXuEw/A+fCDIdIQSAbynqygI /YdbEsNnWhbAHSXgw5nxXEeI1j4IMhVtSZIW50OgVA== X-Google-Smtp-Source: AOwi7QAzmHh1qXaTbDuGeHHyM/ps3nI+XYu8acvNKemxmmlE38pwoLTu4F1sMm9XnTLGkUatPBDAqW17au0E8egnUd4= X-Received: by 10.202.108.3 with SMTP id h3mr10100896oic.53.1506365371266; Mon, 25 Sep 2017 11:49:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.16.72 with HTTP; Mon, 25 Sep 2017 11:49:30 -0700 (PDT) In-Reply-To: References: From: Achim Nierbeck Date: Mon, 25 Sep 2017 20:49:30 +0200 Message-ID: Subject: Re: Pax-cdi-api will change in version 1.0.0 To: dev@aries.apache.org Content-Type: multipart/alternative; boundary="001a1142e1a6db4025055a0804c0" archived-at: Mon, 25 Sep 2017 18:49:37 -0000 --001a1142e1a6db4025055a0804c0 Content-Type: text/plain; charset="UTF-8" Hi, afaik Pax CDI is using the CDI annotation, and OSGi services are handled transparently and internaly. so for me this doesn't sound like a good idea. But I'll leave that to Guillaume Nodet, as he made sure that Pax CDI is CDI compatible. regards, Achim 2017-09-25 20:43 GMT+02:00 Dominik Przybysz : > Hi, > I've checked pax-cdi-api when I was trying to resolve issue > https://issues.apache.org/jira/browse/ARIES-1740 and the annotations that > we are using in the blueprint maven plugin will be not available. > > pax-cdi-api replaced @OsgiService and @OsgiServiceProvider with annotation > @Service which, in my opinion, do not meet our needs. > > The best option is to create own set of annotations, so it will be under > Aries control and we won't depend on someone's changes. > > I propose the annotations (every annotation will have properties > coresponding to the relative attributes): > - @Service > - @ServiceProperty > - @Reference > - @ReferenceList > > The handlers for pax annotations I will move to separate sub module as we > have done for spring handlers. > > What do you think? > > -- > Pozdrawiam / Regards, > Dominik Przybysz > -- Apache Member Apache Karaf Committer & PMC OPS4J Pax Web Committer & Project Lead blog Co-Author of Apache Karaf Cookbook Software Architect / Project Manager / Scrum Master --001a1142e1a6db4025055a0804c0--