felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Hall <c...@hallwaytech.com>
Subject Re: service metadata
Date Fri, 18 Feb 2011 17:06:10 GMT
@ServiceProperty can be applied to multiple fields in a class, but can only
be applied once per field.

This differs from the SCR annotations that also allow multiple properties to
be set at the type (class, interface) level.

On Fri, Feb 18, 2011 at 10:22 AM, Pierre Henry Perret <phperret@gmail.com>wrote:

> ok,
>
> So why the @ServiceProperty allows only one annotation, if many properties
> cans be defined in a Dictionary , (as usually is the case in a service)
>
> --
> Pierre
>
> 2011/2/18 Guillaume Sauthier <Guillaume.Sauthier@objectweb.org>
>
> If using @ServiceProperty, you will add an entry in that Dictionary.
> > --G
> >
> > Le 18/02/2011 15:27, Pierre Henry Perret a écrit :
> >
> >  Hi all,
> >>
> >> When a service is registered via the registration service , a Dictionary
> >> of
> >> properties is passed.
> >> What is the equivalence of this metadata Dictionary ?
> >> Is that @ServiceProperty ?
> >>
> >> Thanls
> >>
> >>
> >> --
> >> Pierre-Henry Perret
> >>
> >>
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> > For additional commands, e-mail: users-help@felix.apache.org
> >
>

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