public class PropertiesMigrationListener extends Object implements ApplicationListener<SpringApplicationEvent>
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.Constructor and Description |
---|
PropertiesMigrationListener() |
Modifier and Type | Method and Description |
---|---|
void |
onApplicationEvent(SpringApplicationEvent event) |
public void onApplicationEvent(SpringApplicationEvent event)
onApplicationEvent
in interface ApplicationListener<SpringApplicationEvent>