RE: Re: Re: Re: [coldbox:18140] [coldbox 3.5.3] referencing plugin in configure() in wirebox.cfc

Yep, constructor injection simply passes it into the constructor and it’s up to you to persist the values somewhere. That’s why I made a comment several E-mails back to make sure you were setting the value since you hadn’t shared your constructor code yet. There’s also setter injection which does what you were thinking-- it calls a setter on your object to set in the dependencies.

Thanks!

~Brad

ColdBox Platform Evangelist
Ortus Solutions, Corp

E-mail: brad@coldbox.org
ColdBox Platform: http://www.coldbox.org
Blog: http://www.codersrevolution.com