A while ago I wrote a blog post about making beans BeanFactory aware you can read it here: Inject ColdSpring into your Beans. These days I tend to use Wirebox for most of my projects. In the previous blog post I was creating DAOs on the fly and you can do the same with Wirebox. WireBox can also handles instantition and wiring of transient objects.

If wanted to inject WireBox (which is my beanFactory) into a UserService.cfc then I could do: