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 RFC 2608 . 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.
|