public class BitronixDependentBeanFactoryPostProcessor extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.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
.Constructor and Description |
---|
BitronixDependentBeanFactoryPostProcessor() |
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
void |
postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) |
void |
setOrder(int order) |
public BitronixDependentBeanFactoryPostProcessor()
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
postProcessBeanFactory
in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
org.springframework.beans.BeansException
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setOrder(int order)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.