Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326841

Summary: [RemoteSrvs] Overwrite defaults in org.eclipse.ecf.provider.generic.TCPServerSOContainer via system properties
Product: [RT] ECF Reporter: Markus Kuppe <bugs.eclipse.org>
Component: ecf.remoteservicesAssignee: Markus Kuppe <bugs.eclipse.org>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 3.3.0   
Target Milestone: 3.4.0   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 326835    
Attachments:
Description Flags
mylyn/context/zip none

Description Markus Kuppe CLA 2010-10-02 08:53:10 EDT
Overwriting the defaults set in org.eclipse.ecf.provider.generic.TCPServerSOContainer via system properties allows consumers to adapt the container to custom requirements. The property names and defaults are:

String:
org.eclipse.ecf.provider.generic.host ("localhost")
org.eclipse.ecf.provider.generic.name ("/server")
org.eclipse.ecf.provider.generic.scheme ("ecftcp")
Int:
org.eclipse.ecf.provider.generic.port (3282)
org.eclipse.ecf.provider.generic.keepalive (30000)
Comment 1 Markus Kuppe CLA 2010-10-02 09:06:24 EDT
Additionally "org.eclipse.ecf.provider.generic.host.useHostName=true" overwrites "org.eclipse.ecf.provider.generic.host" with InetAddress.getLocalHost().getCanonicalHostname() iff set.

FWIW: All defaults remain set to the original behavior!
Comment 2 Markus Kuppe CLA 2010-10-02 09:10:06 EDT
Enhancement released to HEAD
Comment 3 Markus Kuppe CLA 2010-10-02 09:10:08 EDT
Created attachment 180105 [details]
mylyn/context/zip