it's not exactly mysterious...

MG uses coldspring internally so setting modelglue_parent_bean_factory
to point to
your app scoped bean factory allows MG to set this as the parent bean
factory for it's internal cs instance.

you can then access beans from your app scope factory in your mg app.
as an example, I might have a single instance of reactor or transfer
defined in my app bean factory which can be used within multiple mg
apps

chris


On 14/02/2009, coldfusionjunkie <[email protected]> wrote:
>
> I'm looking to use app scoped variables in my ColdSpring config in a M-
> G app.  From the various posts I've seen, they all seem to come back
> to creating a bean factory on my own and setting it to the application
> scope, and then setting it to this mysterious
> ModelGlue_PARENT_BEAN_FACTORY variable in my index.cfm.  No problem on
> creating the bean factory on my own...that's all working.  So now I'm
> setting the bean factory I've created to this
> ModelGlue_PARENT_BEAN_FACTORY.  No problem there, either - my self-
> created bean factory is there.
>
> My question is this - what significance does the variable
> ModelGlue_PARENT_BEAN_FACTORY hold?  Is it simply a local variable in
> my app like anything else?  How does M-G know about this variable and
> what can it do with it (without my instruction)?  Wandering through
> the M-G files, I can't even find a reference to this variable.
>
> Just trying to get a handle on what this variable represents and what
> it does.  Any advice would be greatly appreciated.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

For more about Model-Glue, check http://www.model-glue.com .
-~----------~----~----~----~------~----~------~--~---

Reply via email to