Hello everyone,

First off, I'm new to ColdSpring, and big thanks to everyone involved; looks
great.


Can anyone suggest a way to inject a cfc with a java object, like this:

-----
<bean id="datasourceService"
class="coldfusion.server.ServiceFactory.DataSourceService" />

        then

<bean id="model" class="cf_tests.coldspring.model">
        <constructor-arg name="datasourceService">
                <ref bean="datasourceService" />
        </constructor-arg>
</bean>
-----

Apparently ColdSpring assumes that all objects it creates are CFCs, so it
uses createOject('component', '...'); that's in
beans.BeanDefinition.getBeanInstance().

Is there another approach that doesn't run into this? If not, has anyone
thought about what it would take to modify ColdSpring to make it possible?

Dave Merrill



Reply via email to