this.mongoClientProvider = mongoClientProvider;}
As others have noted this area isn't explained all that well in one place AFAIK, and unfortunately I'm not going to fix that situation here :-)At the moment I think that as far as DS goes the existing ability to set <ref-name>.target from config admin is all that is desirable and no changes should be made in DS.If you need some kind of expression evaluation to set up these configuration properties I think the place to put it is in the code that feeds config admin, whether that be metatype or something else.thanksdavid jencksps. btw, "MongoClientProvider" in your example doesn't come from the type, it comes from removing the "bind" prefix from the bind method name bindMongoClientProvider. If you named it bindFoo then the config property would beFoo.target=(client_id-local)
As others have noted this area isn't explained all that well in one place AFAIK, and unfortunately I'm not going to fix that situation here :-)At the moment I think that as far as DS goes the existing ability to set <ref-name>.target from config admin is all that is desirable and no changes should be made in DS.If you need some kind of expression evaluation to set up these configuration properties I think the place to put it is in the code that feeds config admin, whether that be metatype or something else.thanksdavid jencksps. btw, "MongoClientProvider" in your example doesn't come from the type, it comes from removing the "bind" prefix from the bind method name bindMongoClientProvider. If you named it bindFoo then the config property would beFoo.target=(client_id-local)
String name default “”
The name of this reference.
If not specified, the name of this reference is based upon the name of the method being annotated. If
the method name begins with bind, set or add, that is removed.