<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                [TOC] # 設置自動掃描包 base-package屬性 設置一個掃描的基礎包,spring會自動掃描該包及其子包下的所有類 ~~~ <context:component-scan base-package="com.spring" /> ~~~ # 精確指定只掃描那個子包 `base-package`指定要掃描的基類包,spring容器會掃描基類包里和他子類包中所有類,可以使用`resource-pattern`屬性過濾特定的類 ~~~ <context:component-scan base-package="com.spring" resource-pattern="dao/impl/*.class" /> ~~~ # 子標簽context ## 設置只掃描那個包下的類 ~~~ <!-- 這邊要設置不使用默認filters --> <context:component-scan base-package="com.spring" use-default-filters="false"> <!-- 子標簽context:include-filter:用來設置只掃描那個包下的類 --> <!-- 如果type值是annotation,那么expression的值是注解的全類名 --> <!-- 如果type值是assignable,那么expression的值是接口或者實現類的全類名 --> <context:include-filter type="annotation" expression="com.spring" /> </context:component-scan> ~~~ ## 設置不掃描哪個包下的類 `context:exclude-filter`排除在外的 ~~~ <!-- 這邊就設置為使用默認filter --> <context:component-scan base-package="com.spring" use-default-filters="true"> <!-- type和上面一樣 --> <context:exclude-filter type="annotation" expression="com.spring" /> </context:component-scan> ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看