Hi,

Am Mittwoch, den 19.01.2011, 14:41 +0100 schrieb David Conde: 
> Thank you for your answers.
> 
> I tried with target=(TECH="AAA") since is the only option that Equinox lets 
> me to continue without ERRORs. 
> 
> I tried with target by following the specification of LDAP filters but I can 
> not get what I need. If my property name is TECH and the value of this 
> property is "AAA" the only option in which I do not get Errors is writing 
> (TECH="AAA") in the space available in Equinox UI in order to configure the 
> component.xml file.

The question is: are the quotes part of the value or not ? I would
assume they are *not* part of the value, hence you have to write
(TECH=AAA) for the filter.

Regards
Felix

> 
> Any other idea?
> 
> Thanks again
> 
> 
> 
> -----Mensaje original-----
> De: osgi-dev-boun...@mail.osgi.org [mailto:osgi-dev-boun...@mail.osgi.org] En 
> nombre de Felix Meschberger
> Enviado el: miércoles, 19 de enero de 2011 14:28
> Para: OSGi Developer Mail List
> Asunto: Re: [osgi-dev] Problem with Declarative Services and Filtering
> 
> Hi,
> 
> Am Mittwoch, den 19.01.2011, 13:47 +0100 schrieb David Conde: 
> > Hi,
> > 
> >  
> > 
> > I have a service MyService which is waiting for another service
> > ManagerService to be activated. The problem is that there are more
> > than one ManagerService in the platform so the first ManagerService
> > ACTIVE will call the method bindManagerService(ManagerService ms) from
> > MyService and this will activate MyService. The problem is that I do
> > not want any of them but I need the ManagerService whose property is
> > TECH=AAA (which is specified in the component.xml of the
> > ManagerService right).
> > 
> >  
> > 
> > In this way, in order to get the ManagerService whose property is
> > TECH=AAA and not other one, I specified in the component.xml of my
> > service in the “target” field the next LDAP filter:    (TECH=”AAA”) ,
> > the problem is that MyService is never satisfied since it does not
> > find a ManagerService with this property.
> 
> Probably the configuration should be:
> 
>    target="(TECH=AAA)"
> 
> Regards
> Felix
> 
> 
> > 
> >  
> > 
> > How could I specified the one that I need in the component.xml in
> > order to active MyService just when the ManagerService that I am
> > waiting for is ACTIVE?
> > 
> >  
> > 
> > Thank you in advance
> > 
> >  
> > 
> > Best Regards
> > 
> > 
> > _______________________________________________
> > OSGi Developer Mail List
> > osgi-dev@mail.osgi.org
> > https://mail.osgi.org/mailman/listinfo/osgi-dev
> 
> 
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
> 
> 
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev


_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to