Class PropertiesMigrationListener

  • All Implemented Interfaces:
    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.
    Since:
    2.0.0
    • Method Detail

      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.boot.context.event.SpringApplicationEvent event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.SpringApplicationEvent>