类 OverrideDubboConfigApplicationListener

  • 所有已实现的接口:
    EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>

    @Order
    public class OverrideDubboConfigApplicationListener
    extends Object
    implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>
    ApplicationListener to override the dubbo properties from Environmentinto Dubbo Config. Dubbo Config on ApplicationEnvironmentPreparedEvent.

    从以下版本开始:
    2.7.0
    另请参阅:
    ConfigUtils
    • 构造器详细资料

      • OverrideDubboConfigApplicationListener

        public OverrideDubboConfigApplicationListener()
    • 方法详细资料

      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent event)
        指定者:
        onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent>