Cosminexus アプリケーションサーバ V8 機能解説 拡張編

[目次][用語][索引][前へ][次へ]

9.2.5 DDのサンプル

クライアント性能モニタ機能が提供するDD(web.xml)のサンプルを次に示します。

<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
  All Rights Reserved. Copyright (C) 2008, Hitachi, Ltd.
-->
 
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
 http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4">
 
    <!-- The filter for Clientside Logging -->
    <filter>
      <display-name xml:lang="en">ClientPerformanceFilter</display-name>
      <filter-name>ClientPerformanceFilter</filter-name>
      <filter-class>com.hitachi.software.web.ajaxlog.filters.ClientPerformanceFilter</filter-class>
      <init-param>
        <param-name>warningThreshold</param-name>
        <param-value>(3000,3000,6000,0)</param-value>
      </init-param>
      <init-param>
        <param-name>monitorPageEnableLevel</param-name>
        <param-value>Monitor</param-value>
      </init-param>
    </filter>
    <!-- Specify the filter tags here. -->
 
 
    <!-- The filter mappings for Clientside Logging -->
    <filter-mapping>
      <filter-name>ClientPerformanceFilter</filter-name>
      <url-pattern>/*</url-pattern>
    </filter-mapping>
 
    <!-- Specify the filter-mapping tags here. -->
 
</web-app>