Thanks Chris, I've marked my setters as private and now CS is not attempting to call them, it's only passing the bean to the constructor (as desired).

On 4/5/06, Chris Scott <[EMAIL PROTECTED]> wrote:
OK, 2 fixes are up in the repo. The 2 files are coldspring.beans.BeanDefinition.cfc and coldspring.beans.DefaultXmlBeanFactory.cfc . Here's what we've added. Now private setters are ignored by the autowiring mechanism. And also, autowiring can now be turned off (handy, huh?) on a bean by bean basis. So a bean with autowiring off would look like this:

<!-- set up the logging advice (autowire can be set to 'no' or 'false' to turn it off!) -->
<bean id="loggingAdvice" class="net.klondike.aspects.loggingAroundAdvice " autowire="no">
<!-- <property name="loggingService">
<ref bean="loggingService" />
        </property> -->
</bean>

So that bean definition successfully breaks my records store app. Hope that solves some problems for everyone! Keep up the debuggin!

Chris



Reply via email to