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 <[email protected]>: > 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 <[email protected]>: > > > 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
