Web服务器完全是一个配置对象。
探究配置对象的类型和属性。
在创建配置对象之前,应当了解其类型。
Before you create a configuration object, you should know its type.
可以通过修改案例的配置对象来改变它。
You can change this by modifying the configuration object for the case.
这个方法是轻松找到配置对象的高效途径。
This method is an efficient way to locate config objects easily.
然后,您可以查询或修改新配置对象的属性。
You can then query attributes of the new configuration object or modify it.
后者探测对重要系统文件和配置对象的更改。
The latter detects changes in critical system files and configuration objects.
然后单击OK保存并关闭主机配置对象。
Then click OK to save and close the host configuration object.
一次成功的创建调用将返回新配置对象的ID。
A successful creation call returns the ID of a new configuration object.
通常,可以使用下列步骤创建或修改配置对象。
In general, you can use the following steps to create or modify a configuration object.
关系的名称描述配置对象间的逻辑包含关系的类型。
The name of a relationship describes the type of logical containment relationship among config objects.
下面是配置文档中定义的两个配置对象示例。
Below are two examples of config objects defined in config documents.
我们对配置对象BASE_URL属性的设置如下所示。
We set a configuration object BASE_URL attribute as shown below.
由它负责第一个代理职责:确定什么时候需要配置对象。
That takes care of the first broker responsibility: determining when an object needs to be configured.
查看XML配置文档,了解一下配置对象是如何显示的?
View the XML configuration document to see how the config objects are represented.
完成配置后,单击OK保存并关闭代理配置对象。
When complete, click OK to save and close the agent configuration object.
图5显示了AdminControl、配置对象及属性。
The AdminControl, configuration object, and attribute are shown in Figure 5.
设置属性,然后创建新配置对象或修改现有配置对象。
Set the attributes, then create a new configuration object or modify the existing one.
要创建新的配置对象,需要提供该对象的父ID及其属性。
To create a new configuration object, you need to provide the parent ID of this object as well as its attributes.
对嵌套的每个元素调用setter方法自动配置对象的特性。
Call setter methods for each nested element to automatically configure the properties of the object.
修改配置、查询现有配置对象以获取要使用的配置ID。
Modify a configuration, and query an existing configuration object to get a configuration ID to use.
对于注册到管理代理的每个基本节点,将创建新的托管节点配置对象。
For each base node registered with the administrative agent, a new managed node configuration object is created.
由于它返回一个配置对象数组,因此您总是要检查返回的数组的长度。
Since it returns an array of config objects, you should always check the length of the returned array.
wsadmin脚本客户端同样可以判断出配置对象依赖的节点版本。
The wsadmin scripting client is also aware of the version of node on which a configuration object resides.
请注意,删除一个父配置对象时还会删除它的所有子配置对象。
Note that deleting a parent config object removes all the child config objects as well.
这里,我们将了解一下如何查找所有支持的配置对象类型及其属性的信息。
Here, we will see how to find information on all the supported config object types and their attributes.
上面的代码会在DataSource配置对象中生成下面的xml片断。
The code above generates the following XML fragment in the DataSource config object.
迄今为止,我介绍的解决方案都是在对象初始化之后立即配置对象。
So far, I've looked at solutions that involve configuring objects immediately after their instantiation.
显然,如果能够用Spring容器初始化并配置对象,那么就应当这么做。
It should be clear that if you can use the Spring container to both instantiate and configure your objects, you should do so.
显然,如果能够用Spring容器初始化并配置对象,那么就应当这么做。
It should be clear that if you can use the Spring container to both instantiate and configure your objects, you should do so.
应用推荐