类 PropertiesMigrationListener

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

    public class PropertiesMigrationListener
    extends Object
    implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.SpringApplicationEvent>
    An ApplicationListener that inspects the environment for configuration keys that need to be migrated. Automatically renames the keys that have a matching replacement and log a report of what was discovered.
    从以下版本开始:
    2.0.0
    • 方法详细资料

      • onApplicationEvent

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