I'm familiar with:

@Reference(referenceInterface = MySweetInterface.class, target =
"(specialProp=certainThingIWant)")

but am wondering if I can do something like that during the activation a
component.

My scenario is this.  I have a component that uses factory configurations
(ldap connection pools) and a component that needs one of the components
created by the factory configuration (ldap authn).  In this second
component, since it needs the /right/ ldap pool to use if there are multiple
available, I was thinking of passing a property in the configuration that
could be used to lookup a service like the "target" bit above.  Is this
doable or should I approach the problem differently?

Reply via email to