Equinox/RuntimeOptions

本文详细介绍了Eclipse中几个关键组件的系统属性配置,包括Equinox DS的服务组件运行配置、Initial Provisioning的设备配置过程调优及调试选项、Wire Admin服务的调试配置、IO连接器服务的调试配置等。

 

System properties of bundle org.eclipse.equinox.ds

System Property

Default Value

Description

equinox.ds.debug

false

Turns on/off debugging of SCR

equinox.ds.print

false

Specifies that logged entries should be printed to the framework runtime console

equinox.ds.idle_timeout

1000

Specifies the time in milliseconds after which the SCR working thread will be temporarily terminated if the SCR has no operations to perform

equinox.ds.dbstore

false

Enables caching of the parsed XML documents of the component descriptions

equinox.ds.perf

false

Enables generating and printing logs about the time performance of the operations executed by the SCR

equinox.ds.block_timeout

30000

Specifies the maximum time in milliseconds, which is allowed to a user component's activate or bind method to take. If the method invocation has not finished, a new dispatcher thread will be launched to process the pending work of SCR

equinox.scr.dontDisposeInstances

true

Turns on/off disposing of component instances that are no longer used

 

System properties of bundle org.eclipse.equinox.ip

The following list of system properties can be provided to the Initial Provisioning bundle for tuning the behavior of the provisioning info providers, UDP multicast discovery agent or the general specifics of the provisioning process:

Property

Default Value

Description

General Provisioning Properties

equinox.provisioning.prv.fwstart

true

This system property determines if provisioning must wait until the framework is started.

equinox.provisioning.reprovision.onstart

false

This system property determines if the provisioning agent should try to make provisioning on every start. Otherwise, once the device is provisioned, the provisioning process will not be repeated.

equinox.provisioning.debug

false

This system property determines if provisioning agent should print debug and error information on the console.

equinox.provisioning.remote.debug

false

This system property determines if provisioning agent should send debug and error information to the Log Service on the backend.

For the UDP Multicast Discovery Agent

equinox.provisioning.multicast.host

255.0.0.0

This system property determines the multicast host for the UDP multicast discovery.

equinox.provisioning.multicast.port

7777

This system property determines multicast port for the UDP multicast discovery.

For the HTTP Info Provider

equinox.provisioning.http.provider.allowed

true

Defines if the Provisioning Service should use the HTTP Info Provider, that is, if provisioning properties can be pushed to the service over HTTP

equinox.provisioning.http.provider.secure

false

If set to true, the initial connection for pushing provisioning properties (by the backend or in any other way) must be over HTTPS, and no HTTP connections will be accepted.

equinox.provisioning.require.auth

true

Defines if authentication through an administrator account will be requested from the backend.

For the File Info Provider

equinox.provisioning.file.provider.allowed

true

Defines if the Provisioning Service should use the File Info Provider, that is, if provisioning properties can be defined in a text file within the Initial Provisioning bundle JAR file

equinox.provisioning.file.load.once

true

Defines if the file provider will load provisioning properties only the first time it is started.

For the Environment Info Provider

equinox.provisioning.env.provider.allowed

true

Defines if the Provisioning Service should use the Environment Info Provider, that is, if provisioning properties can be defined as system properties to the JVM

equinox.provisioning.env.provider.push.starting.with

-

If you set a value to this property, all provisioning properties set as system properties starting with the defined value will be added to the provisioning Dictionary

If you set this property with wildcard ("*") value, all set system properties will be set to the provisioning Dictionary in the Provisioning Service.

System properties of bundle org.eclipse.equinox.wireadmin

System Property

Description

equinox.services.wireadmin.debug

Turns on/off generation of debug information about the runtime operation of the WireAdmin Service

equinox.services.wireadmin.console

Enables printing of the produced debug output into the framework's console

equinox.wireadmin.redispatcher.debug

Turns on/off generation of debug information about the runtime operation of the event redispatcher module

equinox.wireadmin.redispatcher.console

Enables printing of the produced debug output of the event redispatcher module into the framework's console

System properties of bundle org.eclipse.equinox.io

System Property

Description

equinox.connector.debug

Turns on/off debugging of Connector Service Bundle. By default its value is false

equinox.connector.console

Specifies that logged entries should be printed to the framework runtime console. By default its value is false

eclipse.io.enable.notification

If set to true, the notification when a connection is created/closed will be enabled. By default its value is false

 

下载前必看:https://pan.quark.cn/s/a4b39357ea24 在本资料中,将阐述如何运用JavaScript达成单击下拉列表框选定选项后即时转向对应页面的功能。 此种技术适用于网页布局中用户需迅速选取并转向不同页面的情形,诸如网站导航栏或内容目录等场景。 达成此功能,能够显著改善用户交互体验,精简用户的操作流程。 我们须熟悉HTML里的`<select>`组件,该组件用于构建一个选择列表。 用户可从中选定一项,并可引发一个事件来响应用户的这一选择动作。 在本次实例中,我们借助`onchange`事件监听器来实现当用户在下拉列表框中选定某个选项时,页面能自动转向该选项关联的链接地址。 JavaScript里的`window.location`属性旨在获取或设定浏览器当前载入页面的网址,通过变更该属性的值,能够实现页面的转向。 在本次实例的实现方案里,运用了`eval()`函数来动态执行字符串表达式,这在现代的JavaScript开发实践中通常不被推荐使用,因为它可能诱发安全问题及难以排错的错误。 然而,为了本例的简化展示,我们暂时搁置这一问题,因为在更复杂的实际应用中,可选用其他方法,例如ES6中的模板字符串或其他函数来安全地构建和执行字符串。 具体到本例的代码实现,`MM_jumpMenu`函数负责处理转向逻辑。 它接收三个参数:`targ`、`selObj`和`restore`。 其中`targ`代表要转向的页面,`selObj`是触发事件的下拉列表框对象,`restore`是标志位,用以指示是否需在转向后将下拉列表框的选项恢复至默认的提示项。 函数的实现通过获取`selObj`中当前选定的`selectedIndex`对应的`value`属性值,并将其赋予`...
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值