Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "EIG:Configuration Properties"
(→Remote Services Properties) |
(→ECF provider) |
||
Line 33: | Line 33: | ||
{|{{BMTableStyle}} | {|{{BMTableStyle}} | ||
|-{{BMTHStyle}} | |-{{BMTHStyle}} | ||
− | ! Property | + | ! Property Name |
− | + | ||
− | + | ||
! Description | ! Description | ||
+ | ! Type | ||
+ | ! Default | ||
|- | |- | ||
− | | | + | | org.eclipse.ecf.provider.generic.scheme |
− | | | + | | Default protocol for generic provider urls. e.g. ecftcp://localhost:3282/server |
| String | | String | ||
− | | | + | | ecftcp |
+ | |- | ||
+ | | org.eclipse.ecf.provider.generic.host | ||
+ | | Default host for generic provider urls. e.g. ecftcp://localhost:3282/server | ||
+ | | String | ||
+ | | localhost | ||
+ | |- | ||
+ | | org.eclipse.ecf.provider.generic.port | ||
+ | | Default port for generic provider urls. e.g. ecftcp://localhost:3282/server | ||
+ | | Integer | ||
+ | | 3282 | ||
+ | |- | ||
+ | | org.eclipse.ecf.provider.generic.name | ||
+ | | Default path/name for generic provider urls. e.g. ecftcp://localhost:3282/server | ||
+ | | String | ||
+ | | /server | ||
+ | |- | ||
+ | | org.eclipse.ecf.provider.generic.keepalive | ||
+ | | Default keepalive for generic provider | ||
+ | | Integer | ||
+ | | 30000 | ||
|- | |- | ||
− | | | + | | org.eclipse.ecf.provider.generic.host.useHostName |
− | | | + | | Whether to use the value of InetAddress.getLocalHost().getCanonicalHostName() as the default host value for dynamically created generic provider urls. If false, then 'localhost' is used as default. |
| String | | String | ||
− | | | + | | true |
|- | |- | ||
− | | ecf. | + | | org.eclipse.ecf.provider.generic.port.fallback |
− | | | + | | What fallback port to use for generic provider server urls. If true, the generic provider port will be dynamically selected, and assured to be an available server port. If false, the value of org.eclipse.ecf.provider.generic.port (above) is used. |
| String | | String | ||
− | | | + | | true |
|} | |} | ||
Revision as of 21:29, 5 July 2012
Contents
Remote Services Properties
System property values are accessed via System.getProperties() or System.getProperty(<property name>);
Property Name | Description | Default value (ms) |
---|---|---|
ecf.remotecall.timeout | Default timeout for remote service calls. Described in [1] | 30000 |
org.eclipse.ecf.provider.remoteservice.addRegistrationRequestTimeout | Default timeout for add registration requests (issued/sent when remote services are registered) | 7000 |
org.eclipse.ecf.provider.remoteservice.registryUpdateRequestTimeout | Default timeout for update registration requests (sent when remote services registered and/or changed) | 5000 |
org.eclipse.ecf.provider.remoteservice.executorType | Default executor types for asynchronous remote services execution. Available types are 'jobs', 'threads', 'immediate' | jobs |
Properties for each provider
Provider list is ECF_Providers. These properties are used when creating a new Container or via Declarative Services.
ECF provider
Property Name | Description | Type | Default |
---|---|---|---|
org.eclipse.ecf.provider.generic.scheme | Default protocol for generic provider urls. e.g. ecftcp://localhost:3282/server | String | ecftcp |
org.eclipse.ecf.provider.generic.host | Default host for generic provider urls. e.g. ecftcp://localhost:3282/server | String | localhost |
org.eclipse.ecf.provider.generic.port | Default port for generic provider urls. e.g. ecftcp://localhost:3282/server | Integer | 3282 |
org.eclipse.ecf.provider.generic.name | Default path/name for generic provider urls. e.g. ecftcp://localhost:3282/server | String | /server |
org.eclipse.ecf.provider.generic.keepalive | Default keepalive for generic provider | Integer | 30000 |
org.eclipse.ecf.provider.generic.host.useHostName | Whether to use the value of InetAddress.getLocalHost().getCanonicalHostName() as the default host value for dynamically created generic provider urls. If false, then 'localhost' is used as default. | String | true |
org.eclipse.ecf.provider.generic.port.fallback | What fallback port to use for generic provider server urls. If true, the generic provider port will be dynamically selected, and assured to be an available server port. If false, the value of org.eclipse.ecf.provider.generic.port (above) is used. | String | true |
R-OSGi provider
Property | Value | Type | Description |
---|---|---|---|
service.exported.interfaces | * | String | Interfaces to export |
service.exported.configs | ecf.r_osgi.peer | String | |
ecf.exported.containerfactoryargs | r-osgi://localhost:9278/ | String |
Extra configuration properties for R-OSGi are shown in R-OSGi_Properties (should be moved here to centralize?)