aries-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominik Przybysz <alien11...@gmail.com>
Subject Re: Pax-cdi-api will change in version 1.0.0
Date Thu, 28 Sep 2017 05:47:35 GMT
Hi,
so we need new annotations. I propose:
- @Service and @ServiceProperty for generating service element in XML
- @Reference for generating reference element
- @ReferenceList for generating reference-list element
What do you think?

2017-09-25 21:20 GMT+02:00 Guillaume Nodet <gnodet@apache.org>:

> I'm not sure why pax-cdi annotations have been used in the first place.
> They really have nothing to do with blueprint.
> I think the handler should be marked as deprecated too.
>
> 2017-09-25 20:43 GMT+02:00 Dominik Przybysz <alien11689@gmail.com>:
>
> > 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
> >
>
>
>
> --
> ------------------------
> Guillaume Nodet
>



-- 
Pozdrawiam / Regards,
Dominik Przybysz

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message