Handling circular dependencies.

0 views
Skip to first unread message

LT

unread,
Feb 7, 2008, 6:31:43 PM2/7/08
to Lightwire Framework
Hi,

I was wondering if Lightwire handles circular dependencies in a
different way from ColdSpring.
Thanks.

LT.

Paul Marcotte

unread,
Feb 7, 2008, 6:43:58 PM2/7/08
to lightwire...@googlegroups.com
Hey LT,

You can use "mixin" injection in Lightwire rather than "setter" injection.   In ColdSpring the way around a circular dependency is to use a property  tag instead of a constructor-arg.  Lightwire has both constructor and setter injection and the aforementioned mixin injection.

I caught your post on the ColdSpring list as well, so I'm curious about you object dependencies.  Do you mind sharing some information about the dependent objects?

Paul
Reply all
Reply to author
Forward
0 new messages