传递给 tabs 方法的选项包使用了与 第 3 部分 相同的视觉效果,但额外的一个参数可用来禁用除第一个选项卡之外的所有选项卡。
The options bundle that you're passing to the tabs method employs the same visual effect you used in Part 3, but an additional parameter allows you to disable all but the first tab.
若要为运行级别0、1、3、6和9禁用相同的脚本,请使用。
To disable the same script for run level 0, 1, 3, 6, and 9, use.
如果您已经具有第3部分中jms示例的设置,那么需要禁用MD b以阻止读取发送到总线的消息。
If you already have the setup for the JMS example in Part 3, you will need to disable the MDB to stop it from reading the messages sent into the bus.
应用推荐