Hi Peter,

Thanks for the detailed explanation!

On Sun, Mar 23, 2014 at 4:57 PM, Peter Kriens <[email protected]> wrote:

> ...The beauty of it all is that with DS you can override the reference target 
> filters. So in the case you cannot change the client,
> you set the Foo.target configuration property to the desired filter...

I guess that's where I'm missing a bit, so assuming you have

@Service(property="state=migrated")
public class FooMigrator implements Foo {
...as in your example
}

You seem to imply that I can configure DS so that a client that has:

@Reference
void setFoo(Foo f) { this.f=f; }

Without any state filter actually gets the Foo service that has
state=migrated instead of the one that has no state property.

If that's correct, how is that setup?

-Bertrand

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to