public class DataConsistencyCallbackBeanPostProcessor extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
DataConsistencyPatch
Flyway callback to the DefaultDatabaseSchemaService
to be able to check the database for its consistency before and after the
upgrades.Constructor and Description |
---|
DataConsistencyCallbackBeanPostProcessor(DataConsistencyPatch dataConsistencyPatch) |
Modifier and Type | Method and Description |
---|---|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
Object |
postProcessBeforeInitialization(Object bean,
String beanName) |
public DataConsistencyCallbackBeanPostProcessor(DataConsistencyPatch dataConsistencyPatch)
public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessBeforeInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization
in interface org.springframework.beans.factory.config.BeanPostProcessor
org.springframework.beans.BeansException
Copyright © 2010 - 2015 edorasware ag. All Rights Reserved.