cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <>
Subject Re: 3.1 IoC
Date Thu, 27 May 2010 06:46:15 GMT
Not to the unit tests inheriting from CayenneCase and friends. Unit  
tests were always bootstrapped in their own way, even in the past  
(mostly for performance reasons). However if you need to define mock  
services, etc. via IoC this can be done with a great deal of  
flexibility. E.g. see, and other tests in the same  


On May 27, 2010, at 9:21 AM, Andrey Razumovsky wrote:

> Hi Andrus,
> Are new 3.1 DI "modules" (CayenneServerModule) bound to Cayenne  
> bootstrap
> process? At least, I don't think they are when we're running JUnit  
> tests. Or
> otherwise, how to "turn on" injecting?
> -- 
> Andrey

View raw message