public class LiquibaseServiceLocatorInitializer extends Object implements org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>, SpringApplicationInitializer
SpringApplicationInitializer
that replaces the liquibase ServiceLocator
with a version that works with Spring Boot executable archives.Constructor and Description |
---|
LiquibaseServiceLocatorInitializer() |
Modifier and Type | Method and Description |
---|---|
void |
initialize(org.springframework.context.ConfigurableApplicationContext applicationContext) |
void |
initialize(SpringApplication springApplication,
String[] args)
Initialize the application
|
public void initialize(SpringApplication springApplication, String[] args)
SpringApplicationInitializer
initialize
in interface SpringApplicationInitializer
springApplication
- the spring application.args
- the run argumentspublic void initialize(org.springframework.context.ConfigurableApplicationContext applicationContext)
initialize
in interface org.springframework.context.ApplicationContextInitializer<org.springframework.context.ConfigurableApplicationContext>
Copyright © 2013. All rights reserved.