I have a Mapper class which needs access to several dependencies (such as a db). It seems that because the framework is new'ing up instances of my Mapper class, I have little control over its lifecycle. Up to now, I've been setting them up as static fields in that class, which is not ideal. Is there a better way to inject my dependencies? Thanks, Lowell
- passing dependencies to my Mapper Lowell Kirsh
- Re: passing dependencies to my Mapper fan wei fang
- Re: passing dependencies to my Mapper Eric Sammer
- Re: passing dependencies to my Mapper Varene Olivier