Manuel Carrasco Moñino
Wed, 03 Feb 2010 22:19:48 -0800
yes it makes sense, +1 Manolo On Wed, Feb 3, 2010 at 8:15 PM, Norman Maurer <nor...@apache.org> wrote: > Hi all, > > after thinking a bit more about the current way how james "load" the > specific implementation of (for example) UsersRepositories or > MailRepositories is really not optimal in terms of injection and J2EE > stuff. I would suggest to move the whole class config of Repositories > (and handlers) to spring-beans.xml and let the container handle the > loading stuff. In the "normal" configs we then just would let the user > dedicide which implementation he want to choose (he is prolly not > interested in specify the class at all). We could use springs lazy > loading to not waste memory for not needed repository implementations. > So we would be able to easly inject (for example) EntityManager etc. > > > Does this sound ok to you all ? > > Bye, > Norman > > --------------------------------------------------------------------- > To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org > For additional commands, e-mail: server-dev-h...@james.apache.org > >
--------------------------------------------------------------------- To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org For additional commands, e-mail: server-dev-h...@james.apache.org