所包含的一个实例模式是NoCyclic Dependency。
要以多实例模式配置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 delete dialog, delete the pattern instance project and the message flow project.
我用增量式设计构建了这个模式实例。
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.
注意:我将在本文的后部讨论该模式的实例化。
Note: I discuss the instantiation of this pattern later in this article.
稍后您将发现,这两个元素将在模式实例中被引用。
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 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.
这就是我所说的惯用模式的实例。
This is an example of what I refer to as an idiomatic pattern.
它是寻找灵感、找寻已有模式实例的很好的地方。
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实例。
例如,在每个工具中,您可完成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模式。
输入RequestResponse作为模式实例的名称。
这是个典型的Factory方法模式实例。
最后一步是通过单击Generate生成模式实例。
Your final step is to generate the pattern instance by clicking generate.
单击Generate创建模式实例和生成消息流。
Click generate to create the pattern instance and generated message flows.
从实例或模式生成测试数据。
您还将把该模式的一个实例部署到代理中,并使用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实例生成模式。
应用推荐