• 市场能调节供需平衡吗? 2019-11-18
  • 体彩嘉年华公益进行时 走! 2019-11-07
  • 图解:有关端午节的这些冷知识 你知道吗 2019-11-06
  • 生姜祛寒止痛可缓解身体不适 但也要注意食用禁忌 2019-11-06
  • 南宁实现全国文明城市“四连冠” 2019-10-27
  • 泡沫建房开始在农村流行 20天可建成一栋别墅 ——凤凰网房产 2019-10-27
  • 在营造优质环境上下功夫 2019-10-10
  • 我们的人民日报,70年正青春 2019-10-09
  • 2017初秋流行色出炉,给家调调色吧 2019-10-06
  • 大同推出9条全域旅游线路直通车--旅游频道 2019-10-04
  • 山西省人大及其常委会各专门(工作)委员会分党组成立 2019-10-02
  • 湖南高校:将十九大精神融入基础课教学建设 2019-09-30
  • 关于新时代党内政治文化建设的九个观点 2019-09-22
  • 人民网日本株式会社报道集 2019-09-17
  • 候选企业:中国东方航空集团公司 2019-09-17
  • The Jar Scan Filter Component

    Table of Contents

    Introduction

    七乐彩开奖结果 www.eleieg.com The Jar Scan Filter element represents the component that filters results from the Jar Scanner before they are passed back to the application. It is typically used to skip the scanning of JARs that are known not to be relevant to some or all types of scan.

    A Jar Scan Filter element MAY be nested inside a Jar Scanner component.

    For example you can specify additional jar files when scanning for pluggable features:

    <Context>
      ...
      <JarScanner>
        <JarScanFilter
            pluggabilityScan="${tomcat.util.scan.StandardJarScanFilter.jarsToScan},
                           my_pluggable_feature.jar"/>
      </JarScanner>
      ...
    </Context>

    If a Jar Scan Filter element is not included, a default Jar Scan Filter configuration will be created automatically, which is sufficient for most requirements.

    Attributes

    Common Attributes

    All implementations of Jar Scan Filter support the following attributes:

    Attribute Description
    className

    Java class name of the implementation to use. This class must implement the org.apache.tomcat.JarScanFilter interface. If not specified, the standard value (defined below) will be used.

    Standard Implementation

    The standard implementation of Jar Scan Filter is org.apache.tomcat.util.scan.StandardJarScanFilter. Additional attributes that it supports (in addition to the common attributes listed above) are listed in the table.

    The values for pluggabilitySkip, pluggabilityScan, tldSkip, tldScan attributes are lists of file name pattern. The patterns are separated by comma (','). The leading and trailing whitespace characters in a pattern are ignored. The patterns are matched case-sensitively. The following two special characters are supported:

    • '*' - means zero or more characters,
    • '?' - means one and only one character.

    Note that excluding a JAR from the pluggability scan will prevent a ServletContainerInitializer from being loaded from a web application JAR (i.e. one located in /WEB-INF/lib) but it will not prevent a ServletContainerInitializer from being loaded from the container (Tomcat). To prevent a ServletContainerInitializer provided by container from being loaded, use the containerSciFilter property of the Context.

    Attribute Description
    pluggabilitySkip

    The comma separated list of JAR file name patterns to skip when scanning for pluggable features introduced by Servlet 3.0 specification. If not specified, the default is obtained from the tomcat.util.scan.StandardJarScanFilter.jarsToSkip system property.

    pluggabilityScan

    The comma separated list of JAR file name patterns to scan when scanning for pluggable features introduced by Servlet 3.0 specification. If not specified, the default is obtained from the tomcat.util.scan.StandardJarScanFilter.jarsToScan system property.

    defaultPluggabilityScan

    Controls if JARs are scanned or skipped by default when scanning for the pluggable features. If true, a JAR is scanned when its name either matches none of pluggabilitySkip patterns or any of pluggabilityScan patterns. If false, a JAR is scanned when its name matches any of pluggabilityScan patterns and none of pluggabilitySkip patterns. If not specified, the default value is true.

    tldSkip

    The comma separated list of JAR file name patterns to skip when scanning for tag libraries (TLDs). If not specified, the default is obtained from the tomcat.util.scan.StandardJarScanFilter.jarsToSkip system property.

    tldScan

    The comma separated list of JAR file name patterns to scan when scanning for tag libraries (TLDs). If not specified, the default is obtained from the tomcat.util.scan.StandardJarScanFilter.jarsToScan system property.

    defaultTldScan

    Controls if JARs are scanned or skipped by default when scanning for TLDs. If true, a JAR is scanned when its name either matches none of tldSkip patterns or any of tldScan patterns. If false, a JAR is scanned when its name matches any of tldScan patterns and none of tldSkip patterns. If not specified, the default value is true.

    Nested Components

    No components may be nested inside a Jar Scanner element.

    Special Features

    No special features are associated with a Jar Scanner element.

    Comments

    Notice: This comments section collects your suggestions on improving documentation for Apache Tomcat.

    If you have trouble and need help, read Find Help page and ask your question on the tomcat-users 七乐彩开奖结果. Do not ask such questions here. This is not a Q&A section.

    The Apache Comments System is explained here. Comments may be removed by our moderators if they are either implemented or considered invalid/off-topic.

  • 市场能调节供需平衡吗? 2019-11-18
  • 体彩嘉年华公益进行时 走! 2019-11-07
  • 图解:有关端午节的这些冷知识 你知道吗 2019-11-06
  • 生姜祛寒止痛可缓解身体不适 但也要注意食用禁忌 2019-11-06
  • 南宁实现全国文明城市“四连冠” 2019-10-27
  • 泡沫建房开始在农村流行 20天可建成一栋别墅 ——凤凰网房产 2019-10-27
  • 在营造优质环境上下功夫 2019-10-10
  • 我们的人民日报,70年正青春 2019-10-09
  • 2017初秋流行色出炉,给家调调色吧 2019-10-06
  • 大同推出9条全域旅游线路直通车--旅游频道 2019-10-04
  • 山西省人大及其常委会各专门(工作)委员会分党组成立 2019-10-02
  • 湖南高校:将十九大精神融入基础课教学建设 2019-09-30
  • 关于新时代党内政治文化建设的九个观点 2019-09-22
  • 人民网日本株式会社报道集 2019-09-17
  • 候选企业:中国东方航空集团公司 2019-09-17
  • 今日足球推荐分析预测 九尊娱乐开奖网 十三张棋牌 牌9怎么看大小带图片 财神捕鱼游戏 微信app官方 彩票开奖查询 极速飞艇必赢计划软件 3d组三分布 三亚牛牛培训 吉林省彩票十一选五 云南十一选五分析 上海基诺彩票为什么还是5分钟一开奖 刮刮乐中40万图片 四肖中特图