I'm pretty sure autowiring has to be on, that is what instructs ColdSpring
to look up setters that match your beans.

On 8/22/07, Derek P. <[EMAIL PROTECTED]> wrote:
>
> Hey All,
> I am trying to make one of my services BeanFactoryAware, and I cannot seem
> to get it to work properly...not sure whats happening..
>
> I have the bean defined in my coldspring.xml (autowiring is NOT turned
> on),
>
> the bean has the following method:
>
> <cffunction name="setBeanFactory" access="public" returntype="void"
> output="false">
>  <cfargument name="factory" type="coldspring.beans.BeanFactory" />
>  <cfset variables.beanFactory = arguments.factory />
> </cffunction>
>
>
> everything loads fine, but when I inspect variables.beanFactory, there is
> nothing in it!
>
> If it matters, i am using Model Glue 2 and coldspring...not sure what else
> to do here.
>
> Thanks for the help!
>
> Derek P.
> [EMAIL PROTECTED]
>
>
>
>

Reply via email to