On Thursday, April 10, 2014 8:01:23 AM UTC-7, Dan Wilson - 
[email protected] wrote:
>
>
> So just use beans.modelGlue.cacheAdapter in your controllers, or inject it 
> into your model as you please. 
>

Dan, 

Is it possible to inject this into a parent beanfactory?  E.g., I have in 
my index.cfm 

<cfset ModelGlue_PARENT_BEAN_FACTORY = application.cs />

I don't think there's a way for my model in application.cs to get access to 
modelGlue, correct?  I'm temporarily working around this by accessing 
application.public.getBean("modelGlue.cacheAdapter").purge() which works 
but I know you don't recommend accessing the framework this way.

I'm using this from an eventgateway to synchronize multiple nodes, FWIW.


Brian

-- 
-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

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
--- 
You received this message because you are subscribed to the Google Groups 
"model-glue" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to