Sergey Podatelev <mailto:[email protected]> wrote: > Thanks for your insight, Patrick. > > But I'm stuck in my dumbness: "setting the component's fields" -- > does this mean a new instance of that particular annotated bean is > created, or that singleton is accessed somehow (proxy)? > Also, it's not the injected beans that are null, it's their > dependencies, > and I assume that is because new instances of those beans are created. >
Do you have tested the repositoryDao with AbstractDependencyInjectionSpringContextTests? Does this problem only occurs if you access the repositoryDao from a Wicket component? See http://static.springframework.org/spring/docs/2.5.x/reference/testing.html#j unit38-legacy-support Cheers, Kai --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
