Geert Bevin wrote:
What would be swell would be a Spring participant that automatically adds all the Spring beans to the list of global RIFE properties. That way you wouldn't have to list the beans in two places.
As long as Spring supports full introspection of the beans in the factory, that simply would be an extension of SpringWebParticipant. You can override the initialize() method. It's implementation would call parent.initialize() first and then you can use getRepository().getProperties() to obtain a handle on the global properties. These can then be filled in.

This works great and I've posted code for it to the Wiki. Do you think it makes sense to include this as a part of RIFE? It seems to me that many (most?) people who want to mix Spring and RIFE will want to be able to freely inject all their Spring beans into RIFE elements.

-Steve
_______________________________________________
Rife-users mailing list
[email protected]
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to