org.alfresco.repo.management.subsystems
Class LegacyConfigPostProcessor

java.lang.Object
  extended by org.alfresco.repo.management.subsystems.LegacyConfigPostProcessor
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered

public class LegacyConfigPostProcessor
extends java.lang.Object
implements org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.PriorityOrdered

A BeanFactoryPostProcessor that upgrades old-style Spring overrides that add location paths to the repository-properties or hibernateConfigProperties beans to instead add these paths to the global-properties bean. To avoid the warning messages output by this class, new property overrides should be added to alfresco-global.properties without overriding any bean definitions.


Field Summary
 
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
 
Constructor Summary
LegacyConfigPostProcessor()
           
 
Method Summary
 int getOrder()
           
 void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LegacyConfigPostProcessor

public LegacyConfigPostProcessor()
Method Detail

postProcessBeanFactory

public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
                            throws org.springframework.beans.BeansException
Specified by:
postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
Throws:
org.springframework.beans.BeansException

getOrder

public int getOrder()
Specified by:
getOrder in interface org.springframework.core.Ordered


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.