public class BitronixDependentBeanFactoryPostProcessor extends Object implements BeanFactoryPostProcessor, Ordered
BeanFactoryPostProcessor
to automatically register the recommended
dependencies
for correct Bitronix shutdown ordering. With Bitronix it appears that
ConnectionFactory and DataSource beans must be shutdown before the
TransactionManager
.HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
BitronixDependentBeanFactoryPostProcessor() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
void |
postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) |
void |
setOrder(int order) |
public BitronixDependentBeanFactoryPostProcessor()
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException
postProcessBeanFactory
in interface BeanFactoryPostProcessor
BeansException
public void setOrder(int order)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.