Ticket #331 (closed enhancement: wontfix)
Allow ModelGlue to use a pre-existing ColdSpring instance without creating it's own bean factory
| Reported by: | Seth MacPherson | Owned by: | DanWilson |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Version: | 3.0.178 | Severity: | major |
| Keywords: | Cc: |
Description
Originally posted by Seth MacPherson on 10/29/2008 at 1:55 PM: entered by Ezra Parker on port to new system
Environment: ModelGlue 3 (rev: 113), ColdSpring 1.2, Brian Kotek's DynamicXmlBeanFactory.cfc
I would like to be able to create my own instance of ColdSpring utilizing the customizations provided by Brian Kotek's component and pass that instantiated bean factory to ModelGlue and avoid having "createBeanFactory" load it's own (see ColdSpringBootstrapper.cfc @ line 16). When ModelGlue loads its own "bf", it is passed my /config/coldspring.xml file which contains variables (${myServiceClassPath} = 'com.company.service.ServiceName') that are not resolved correctly by coldspring.beans.DefaultXmlBeanFactory and it errors out. ModelGlue will not load.
![(please configure the [header_logo] section in trac.ini)](/ModelGlue.com/trac.cgi/chrome/site/your_project_logo.png)