Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "R-OSGi Properties"

(New page: <p> Currently, R-OSGi supports the following properties: <table class="bodyTable"><tr class="a"><th>Attribute</th> <th>Default</th> <th>Comment</th> </tr> <tr class="b"><td><code> ...)
 
Line 104: Line 104:
 
<code>r-osgi</code>
 
<code>r-osgi</code>
 
protocol.
 
protocol.
 +
</td>
 +
</tr>
 +
<tr class="b"><td><code>
 +
ch.ethz.iks.r_osgi.channelEndpointImpl.timeout
 +
</code></td>
 +
<td>120000</td>
 +
 +
<td>
 +
Defines timeout used for ChannelEndpointImpl.TIMEOUT variable used in ChannelEndpointImpl.sendAndWait() method.
 
</td>
 
</td>
 
</tr>
 
</tr>
 
</table>
 
</table>
 
</p>
 
</p>

Revision as of 18:48, 13 March 2015

Currently, R-OSGi supports the following properties:

Attribute Default Comment

ch.ethz.iks.r_osgi.debug.proxyGeneration

false

= disabled

Enable debug output for dynamic proxy generation.

ch.ethz.iks.r_osgi.debug.messages

false

= disabled

Enable debug output for R-OSGi messages (= network packets).

ch.ethz.iks.r_osgi.debug.internal

false

= disabled

Enable R-OSGi internal debug outputs.

ch.ethz.iks.r_osgi.service_discovery.slp.discovery_interval

20

Amout of time (in seconds) between two SLP service discovery attempts (only when jSLP and service_discovery.slp are installed). This also sets the upper time bound for discovery.

ch.ethz.iks.r_osgi.service_discovery.slp.defaultLifetime

90

Amout of time (in seconds) that a service registration in SLP remains alive. R-OSGi will reregister the service unless the service is unregistered with R-OSGi. This property sets the lifetime for SLP registrations and affects how long a registration remains stale if the R-OSGi service is shut down or if a SLP Directory Agent is used and the framework is shut down. Should be set to a reasonable value; too small values lead to increased resource consumptions for the reregistration thread. Too large values lead to stale service references, especially if a Directory Agent for is present. (For details about the role of a Directory Agent, see <a class="externalLink" href="http://www.openslp.org/doc/rfc/rfc2608.txt"> RFC 2608 </a>

. Please note, that service_discovery.slp does not require the presence of a Directory Agent.)

ch.ethz.iks.r_osgi.port 9278

The port on which R-OSGi operates when the (default) TCP-based protocol is used. Should not be changed unless R-OSGi is running in a closed environment where all peers use a non-default port.

ch.ethz.iks.r_osgi.registerDefaultChannel

true

Defines if R-OSGi should register the default transport channel support for the r-osgi protocol.

ch.ethz.iks.r_osgi.channelEndpointImpl.timeout

120000

Defines timeout used for ChannelEndpointImpl.TIMEOUT variable used in ChannelEndpointImpl.sendAndWait() method.

Back to the top