On 3/1/07, Tom Chiverton wrote:
....
> > I'm a little unclear on how you could have it only be in the xml file?  You
> > have get it in to the cfml somehow, right?
>
> Yeah. But then I'd feel like the XML file was just a copy of the dependencies
> I'd already documented / requested by writing a set method for them.

So ALL you have is the setLogger(), say, and there is nothing in
your XML that says <bean id="logger"...> ?

OR, and this is starting to make sense, : you've got <bean id="logger"...>

but you DON'T have something like:

<bean id="userService"...>
  <property name="logService">
        <ref bean="logger" />
  </property>
</bean>

Right?  Dependency is documented in the CFML, vs. the XML?

Ding! Light goes on.

Thanks Tom, I appreciate it.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271161
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to