<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 2.7.7</li>
<li>Operating System version: Windows 64x</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<p dir="auto"><strong>dubboBootstrapApplicationListener</strong> is is registered repeatedly in <strong>ServiceClassPostProcessor</strong>, dubboBootstrapApplicationListener have bean registered through <strong>DubboBeanUtils.registerCommonBeans</strong> by <strong>DubboNamespaceHandler</strong> 、<strong>@EnableDubboConfig</strong> and <strong>@DubboComponentScan</strong></p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h3 dir="auto">Environment</h3>
<ul dir="auto">
<li>Dubbo version: 所有dubbo版本都存在</li>
<li>Operating System version: mac</li>
<li>Java version: 1.8</li>
</ul>
<h3 dir="auto">Steps to reproduce this issue</h3>
<ol dir="auto">
<li>
<p dir="auto">使用dubbo-ops禁用provider，客户端仍然能调用禁用的服务</p>
<p dir="auto">启用一个provider、consumer、dubbo-admin，禁用provider和开启provider测试。</p>
<p dir="auto">已有用户提ops issue: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="352818026" data-permission-text="Title is private" data-url="https://github.com/apache/dubbo-admin/issues/90" data-hovercard-type="issue" data-hovercard-url="/apache/dubbo-admin/issues/90/hovercard" href="https://github.com/apache/dubbo-admin/issues/90">apache/dubbo-admin#90</a><br>
我已经check是dubbo实现的Bug, 会尽快修复。</p>
</li>
</ol>
<p dir="auto">Pls. provide [GitHub address] to reproduce this issue.</p>
<h3 dir="auto">Expected Result</h3>
<ol dir="auto">
<li>如果只有一个provider，禁用后立即生效，应该找不到服务</li>
<li>如果有多个provider，会自动找其他服务调用，除非重新启用服务，否则会忽略禁用服务</li>
</ol>
<h3 dir="auto">Actual Result</h3>
<ol dir="auto">
<li>禁用的服务持续调用</li>
</ol>