/**
* @see org.springframework.beans.factory.config.BeanFactoryPostProcessor#postProcessBeanFactory
* (org.springframework.beans.factory.config.ConfigurableListableBeanFactory)
*/
public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
ConfigurationProvider confProvider = beanFactory.getBean(ConfigurationProvider.class);
try {
HierarchicalConfiguration config = confProvider.getConfiguration("mailbox");
String provider = config.getString("provider", "jpa");
BeanDefinitionRegistry registry = (BeanDefinitionRegistry) beanFactory;
String mailbox = null;
String subscription = null;