Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326866 - [RemoteSrvs] ServicePublicationHandler creates endpoints for loopback references
Summary: [RemoteSrvs] ServicePublicationHandler creates endpoints for loopback references
Status: RESOLVED FIXED
Alias: None
Product: ECF
Classification: RT
Component: ecf.remoteservices (show other bugs)
Version: 3.3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Markus Kuppe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-03 10:38 EDT by Markus Kuppe CLA
Modified: 2010-10-04 05:45 EDT (History)
0 users

See Also:


Attachments
mylyn/context/zip (8.35 KB, application/octet-stream)
2010-10-04 05:45 EDT, Markus Kuppe CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Kuppe CLA 2010-10-03 10:38:10 EDT
org.eclipse.ecf.internal.osgi.services.discovery.ServicePublicationHandler.serviceDiscovered(IServiceEvent) and org.eclipse.ecf.internal.osgi.services.discovery.ServicePublicationHandler.serviceUndiscovered(IServiceEvent) do not filter service ids that originate from the same runtime. This causes endpoints to be created/connected, which are never used. This is considerable overhead that should be avoided (in most scenarios)
The only scenario where this behavior is useful, is for local testing purposes. This use case however does not represent the default and hence can be activated with a system property.
Comment 1 Markus Kuppe CLA 2010-10-04 05:45:17 EDT
Fix released to HEAD
Property is Boolean org.eclipse.ecf.osgi.services.discovery.allowLoopbackReference
Comment 2 Markus Kuppe CLA 2010-10-04 05:45:20 EDT
Created attachment 180143 [details]
mylyn/context/zip