Just a quick point on using setBeanFactory, is that your argument must have
a type of "coldspring.beans.DefaultXmlBeanFactory" otherwise ColdSpring will
ignore it when it is checking the metadata and won't inject.

On 9 April 2010 01:49, Matt Quackenbush <[email protected]> wrote:

> Well, to answer your specific question, you pass ColdSpring in by having a
> public setter for BeanFactory.
>
> <cffunction name="setBeanFactory" access="public">
>      <cfargument name="beanFactory" required="yes"
> type="coldspring.beans.DefaultXmlBeanFactory" />
>      <cfset instance.beanFactory = arguments.beanFactory />
> </cffunction>
>
> However, why not just simply wire the other service(s) in?  That would be a
> much better solution, imo.
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "CFCDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<cfcdev%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/cfcdev?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"CFCDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cfcdev?hl=en.

Reply via email to