Hi Tom,

But you still need to decide whether to use constructor or setter injection
though - autowiring just means you don't have to describe the wirings in
your XML. You still need to have a cfargument within your init method or a
cffunction as the setter in the bean. Which you choose depends on whether
you want to use constructor or setter injection . . .

Best Wishes,
Peter 


On 6/19/07 11:44 AM, "Tom Chiverton" <[EMAIL PROTECTED]> wrote:

> On Tuesday 19 Jun 2007, Jonathon Stierman wrote:
>> The problem I'm running in to is that I'm unsure whether I should be
>> specifying my dependencies as constructor-arg's or as properties.  In some
>> cases, I don't have a choice (Domains is dependent on Contracts, and
>> Contracts is also dependent on Domains, so I have to use the <property> tag
>> there).  
> 
> Leaving aside the whole circular-dependencies-are-wrong argument, we don't use
> either, we use autowiring.




Reply via email to