Is it possible to inject the ColdSpring bean factory itself into an object?
I think I have seen this before, but I want to check and find out the proper
syntax.

 

To head off the questions, I know the point of dependency injection is to
inject any dependent objects into the parent object without the parent
object knowing about factories etc.  However, in the case I am working on,
the parent object does not know its dependencies before run-time.  In other
words, the parent object has an API that can be programmatically used and in
some cases will introduce new dependencies.  Therefore, I need the parent
object to have the generic concept of a factory that it can use to load
these dependent objects at run time.

 

Thanks

-- Jeff

 

Reply via email to