Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] Problem with Remote Services

Hi Wojciech,

Wojciech Galanciak wrote:
I found a small bug in filter declaration:
context.createFilter("(&("+org.osgi.framework.Constants.OBJECTCLASS+"=" + IHello.class.getName() +")(" + REMOTE + "=*))");
There should be REMOTE_INTEFACE instead of REMOTE.

I think this property (REMOTE) is correct. The idea here is that for the consumer the service found should have the "osgi.remote" property set to any value. The RFC119 spec has "osgi.remote" currently mean that the service is a remote proxy. The intention here is to only detect services that are registered as remote (not locally registered ones).

Scott



Back to the top