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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.context.ApplicationListener
supportsAsyncExecution
-
Constructor Details
-
DinoFlaywayConfiguration
public DinoFlaywayConfiguration()
-
-
Method Details
-
onApplicationEvent
public void onApplicationEvent(@NonNull org.springframework.boot.context.event.ApplicationReadyEvent event) - Specified by:
onApplicationEventin interfaceorg.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
-