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.BeanFactoryPostProcessororg.springframework.beans.BeansExceptionpublic int getOrder()
getOrder in interface org.springframework.core.Orderedpublic void setOrder(int order)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.