Oops.  I got them backwards.  :-)

Your bean definition here...

<bean id="otherFunctionsService"
> class="it.EM.model.otherFunctionsService">
>        <property name="otherFunctionsDAO"><ref
> bean="otherFunctionsDAO" /></property>
>        <property name="otherFunctionsGW"><ref
> bean="otherFunctionsGW" /></property>
> </bean>
>

... is an example of injection.  So you'd just add the property declaration
on your DAO to inject the GW.

HTH

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" 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/model-glue?hl=en

Reply via email to