| | 1 | 2008-11-14 Martin Leidig <mleidig@schlund.de> |
|---|
| | 2 | |
|---|
| | 3 | * src/org/pustefixframework/container/spring/beans/AnnotationBeanDefinitionPostProcessor.java: |
|---|
| | 4 | implement BeanFactoryPostProcessor, throw BeanFactoryImplNotSupportedException |
|---|
| | 5 | if given BeanFactory doesn't implement BeanDefinitionRegistry and new |
|---|
| | 6 | bean has to be registered |
|---|
| | 7 | * src/org/pustefixframework/container/spring/beans/BeanFactoryImplNotSupportedException.java: |
|---|
| | 8 | add new BeansException type |
|---|
| | 9 | * src/org/pustefixframework/container/spring/beans/PustefixWebApplicationContext.java: |
|---|
| | 10 | register AnnotationBeanDefinitionPostProcessor as BeanFactoryPostProcessor instead |
|---|
| | 11 | of calling it directly, thus other post processors can be executed |
|---|
| | 12 | before or after it. Thus PropertyPlaceholderConfigurer can be executed |
|---|
| | 13 | before it and @Inject annotations now also work with class name |
|---|
| | 14 | substituted classes. |
|---|
| | 15 | |
|---|
| | 16 | 2008-11-13 Martin Leidig <mleidig@schlund.de> |
|---|
| | 17 | |
|---|
| | 18 | Added PropertyPlaceholderConfigurer/PropertyOverrideConfigurer |
|---|
| | 19 | support for the customizable Pustefix-XML-Property format by |
|---|
| | 20 | implementing a custom PropertyPersister. |
|---|
| | 21 | |
|---|
| | 22 | * src/org/pustefixframework/container/spring/beans/PustefixWebApplicationContext.java: |
|---|
| | 23 | automatically set up PropertyConfigurers if spring-properties.xml or |
|---|
| | 24 | spring-properties-override.xml are existing |
|---|
| | 25 | * src/org/pustefixframework/container/spring/util/PustefixPropertiesPersister.java: |
|---|
| | 26 | added PropertyPersister which can read the Pustefix-XML-Property |
|---|
| | 27 | format |
|---|
| | 28 | |
|---|
| | 29 | Use PropertyConfigurers in sample application: |
|---|
| | 30 | * projects/sample1/conf/spring.xml |
|---|
| | 31 | * projects/sample1/conf/spring-properties.xml |
|---|
| | 32 | * projects/sample1/conf/spring-properties-override.xml |
|---|
| | 33 | |
|---|