配置文件能够支持多个配置,但在任何时刻,只有其中一个配置是活动的。配置文件中的所有高级元素都包含可选的 configuration 属性。此属性适用于该元素及其子元素。这将会与 AgentControllerConfiguration 元素的 activeConfiguration 属性进行比较。仅当配置同名或不存在指定的 configuration 时,元素及其子元素才会装入到“代理控制器”配置中。下列高级元素支持配置:
在 serviceconfig.xml 文件的以下代码示例中,不同类型元素(hosts 和 agents)中的每一个都将配置属性设置为“default”。
<Hosts configuration="default"> <Allow host="LOCAL" /> </Hosts>
<Agent configuration="default" name="WAS Activity Log Agent" type="Logging"> <Option type="environment" name="WAS_HOME" value="%WAS_HOME%" /> </Agent>
有关“Java 概要分析代理程序”的更多信息,参阅有关概要分析工具的文档。
相关任务
管理代理控制器
(C) Copyright IBM Corporation 2000, 2003. All Rights Reserved.