Spring integration for Pustefix

Ideas about how Spring and Pustefix can be integrated are gathered on this page.

Goals

Ideas

How to configure Spring context

We have to create a Spring ApplicationContext for each application. As we do not have an explicit Spring configuration (like an XML file), we have to create the configuration on the fly. This can be achieved by iterating over the configuration objects (details not clear yet) and creating a bean name - Spring BeanDefinition (GenericBeanDefinition might be the right one) pair for each ressource, that should be registered within the context. References to other beans can be given by using a RuntimeBeanReference or RuntimeBeanNameReference object as the value of a PropertyValue object attached to a BeanDefinition.