要以多实例模式配置MessageBroker,必须执行三组动作。
There are three sets of actions that must be performed to configure Message Broker in multi-instance mode.
除非使用单一实例模式来设计设置包装类,否则单个应用程序中可能存在同一个应用程序设置类的多个实例。
Unless the Settings wrapper class is designed using the singleton pattern, there can be multiple instances of the same application Settings class in a single application.
因为根据设计它是线程安全的,创建它之后可以把它缓存在一个公共静态最终变量中,或者包装在单实例模式中以供以后访问。
Since it is thread safe by design, you might cache it in a public static final variable, or wrap it in a singleton pattern after creation for later access.
在下一个小节中,您将创建一个模式实例并将其部署到该本地代理中。
In the next section you will create an instance of a pattern and deploy it to the local broker.
在部署模式实例之前,必须提供用于数据库设计、创建和访问的过程,并说明应该如何完成此过程。
You must provide the process for database design, creation, and access and provide instructions that it should be completed before deploying a pattern instance.
在物理恢复完成之后,数据库实例处于快速恢复模式,等待恢复逻辑日志。
After the physical restore completes, the database instance waits in fast recovery mode to restore logical logs.
我用增量式设计构建了这个模式实例。
I created the example for that pattern using incremental design.
在此视图中,可以通过拖拽控制模型并且参数化模式实例。
In this view, models can be manipulated and pattern instances be parameterized via drag-and-drop.
标识属于通用实现模式的实例且能进行更严格管理的组件。
Identify components that are instances of generic implementation patterns and can be managed more tightly.
产品可以方便创建该模式的特定实例。
Products can facilitate the creation of specific instances of that pattern.
稍后您将发现,这两个元素将在模式实例中被引用。
Both of these are referenced elements found later in the schema instance.
当您将参数绑定到模式实例上之后,模式实例将通过修改现有模型元素或新增模型元素来精练模型。
After you have bound the parameters to the pattern instance, the pattern instance will refine the model by modifying existing model elements or adding new ones.
实例化遵循这种模式:创建一个空业务组件,填入数据,然后激活它。
The instantiation follows the pattern: create an empty business component, fill it with data, and then activate it.
模式描述应用程序基础架构和工件,而实例是已部署的模式。
The pattern describes the application infrastructure and artifacts, while the instance is the deployed pattern.
清单7中的数据实例对这个模式及其替换群扩展是有效的。
The data instance in Listing 7 is valid with this schema and its substitution group extensions.
清单2展示了一个XML模式实例中的初始元素和属性的层次结构。
Listing 2 demonstrates the initial elements and attributes of the hierarchy within an XML schema instance.
它是寻找灵感、找寻已有模式实例的很好的地方。
It's a good place to go for inspiration or to find examples of existing patterns.
该实现是模式中的消息传递中介系统的一个变体实例,如 POSA 模式文档中所述。
The implementation was an instance of the message passing broker system variant of the pattern, as in the POSA pattern documentation.
您可以针对相应的模式,验证xml实例。
让服务接口和服务实现彼此分开,明确你的实现选择,尤其是实例化的模式。
Keep service interface and service implementation apart from each other and be very explicit about your implementation choices, especially the instancing model.
例如,在每个工具中,您可完成XML实例或者模式的基本编辑。
For instance, in each of these tools, you can accomplish basic editing of XML instances or schemas.
模式实例项目包含一个HTML摘要文件和模式实例配置文件。
The pattern instance project contains an HTML summary file as well as the pattern instance configuration file.
您可以随时打开模式实例配置文件查看模式参数的值。
You can open the pattern instance configuration file at any time to see the values of the pattern parameters.
您可以从XML实例生成XML模式。
通过该示例,可得出以下用于并行处理数量不定的实例的通用模式。
The example suggests the following general pattern for parallel processing of a dynamic number of instances.
您还将把该模式的一个实例部署到代理中,并使用MessageBrokerTestClient测试该模式实例。
You will deploy an instance of this pattern to the broker and exercise the pattern instance using the Message broker Test Client.
您可以从PatternExplorer中将模式实例拖拽到uml图中,然后将UML元素作为参数绑定到模式实例上(选择现有的或创建新的)。
You can drag a pattern instance from the pattern Explorer to a UML diagram, and then bind UML elements to the pattern instance as parameters (select existing ones or create new ones).
从XML实例生成模式。
中间部分显示模式实例项目,它们是在模式生成之后包含配置信息的MessageBroker项目。
The middle section displays pattern instance projects, which are Message Broker projects that contain the configuration information after a pattern is generated.
该X Forms文档提交实例的模式定义如清单1所示。
The schema definition for instances submitted by this XForms document is shown in Listing 1.
应用推荐