Hi Pradeep and Wim,|
One thing to add to what Wim says:
According to the Remote Services specification, all remote service
proxies will have the 'service.imported' service property set to
some non-null value.
So in your filter, to find all proxies/remote services, you can look
for the 'service.imported' property being set.
In ECF's case, the value of 'service.imported' is set to be an
instance of IRemoteService .
On 4/24/2011 1:42 PM, Wim Jongman wrote:
In short, It depends on how you consume the service.
If you use a service tracker or a service listener you can
specify a filter or query the service properties when a service
If you ask the service registry you can specify the properties
you want or don't want.
If you use the referenced service in the component.xml then
you can specify the filter in the "target" field. (see 112.3.4
of the forementioned manual)
On Sun, Apr 24, 2011 at 8:14 PM,
Pradeep Fernando <pradeepfn@xxxxxxxxx>
I did a small test related to above query. When i run the
within the same JVM process, that exports the interface as
services, I got this object reference through ds,
while remote service client (another JVM process) giving
this as the output,
So it is safer assume that, zeroconf does not affects my
behaviour. So that solves my first question I guess. :)
but I cant figure the answer for my second question, how to
the exact service through DS when you have both remote and
services registered under same interface (Name).
ecf-dev mailing list