Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] adding to RemoteServiceAdmin wiki docs

On 4/1/2011 8:07 AM, Scott Lewis wrote:
<stuff deleted>

You would register your EndpointListener with the endpoint listener scope (standard) property set...e.g.

Properties props = new Properties();
props.put(EndpointListener.ENDPOINT_LISTENER_SCOPE,"(!(org.osgi.framework.uuid=<your localhost framework uuid>)"); bundleContext.registerService(EndpointListener.class.getName(),new MyEndpointListener(),props);


I realized that the 'org.osgi.framework.uuid' property name in the listener scope is incorrect. It should be using 'endpoint.framework.uuid' instead...e.g.:

props.put(EndpointListener.ENDPOINT_LISTENER_SCOPE,"(!(endpoint.framework.uuid=<your localhost framework uuid>)");

Sorry about the confusion.

Scott



Back to the top