forgive me if this is in the docs or covered by the mailing list... I couldn't find anything on this.

We have a function inside a CFC that needs to create multiple instances of another CFC.  Each of these instances needs a reference to another object which is a singleton.  We've been setting all our service-type CFCs in CS, so the dependence of these multiple unique instances on the singleton is handled, but putting application.serviceFactory.getBean('someCFC') inside a CFC to generate these unique instances doesn't seem like the right way to go.  Any ideas?

Reply via email to