What you want to do is use the parent bean factory feature of ColdSpring.
The Mach II ColdSpring plugin supports this by using the
parentBeanFactoryKey parameter and the parentBeanFactoryScope parameter. If
you cannot find the documentation in the Mach II plugin let me know and I
will post an example.

--Kurt

On 3/30/07, Mike Fransblow <[EMAIL PROTECTED]> wrote:

 Having some issues with extending coldspring in sub applications via
application.cfc inheritance.

I have application A which extends the machii framework:
<code>
 cfcomponent name="application" extends="MachII.mach-ii"
</cfode>

In application A I instantiate the coldspring bean factory so it is
available to all applications that extend this root app.

Then have application B which extends A
B is a machii application, which uses the coldspring plugin.

What I'm finding is that application B re-creates the coldspring bean
factory altogether based on the provided coldspringConfigFile machii
property. I need the same bean factory that was defined in application A,
not a new one. I guess I'm missing something here....

Tried using variations in syntax in the call to the coldspring plugin ie
parentBeanFactoryKey / beanFactoryPropertyName but can't seem to get it to
work.

Any suggestions appreciated.


 *Mike Fransblow*
***************************
[EMAIL PROTECTED]
***************************

Reply via email to