Class DinoFlaywayConfiguration

java.lang.Object
cn.dinodev.spring.data.autoconfig.DinoFlaywayConfiguration
All Implemented Interfaces:
EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>

@Configuration @ConditionalOnClass(org.flywaydb.core.Flyway.class) @ConditionalOnProperty(prefix="spring.flyway", name="enabled", matchIfMissing=true) @EnableConfigurationProperties(org.springframework.boot.autoconfigure.flyway.FlywayProperties.class) @EnableAutoConfiguration(exclude=org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.class) public class DinoFlaywayConfiguration extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
Author:
Cody Lu
  • Constructor Details

    • DinoFlaywayConfiguration

      public DinoFlaywayConfiguration()
  • Method Details

    • onApplicationEvent

      public void onApplicationEvent(@NonNull org.springframework.boot.context.event.ApplicationReadyEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>