Set the ColdSpring bean into the event scope and it'll be there.

DW

Tom McNeer <mailto:[email protected]>
Thursday, December 05, 2013 4:47 PM
Hi,

Before you say "you shouldn't be doing that," I know.

I could spend a long time explaining why it would be most expeditious in this particular, narrow case. But it would just confuse things.

So my question is, is there a practical way to access a service bean created from ColdSpring inside a view?

I understand the way "helpers" work, but the bean in question is actually a Java library instantiated with Javaloader via ColdSpring, so it's not as simple as a normal CFC.

I also understand that I could create a parent bean factory with ColdSpring and point M-G to it, and then be able to access beans through something like application.beanFactory.getBean(). But again, there are reasons why I'm trying to avoid that.


Thanks for any suggestions.

--
Thanks,

Tom

Tom McNeer
MediumCool
http://www.mediumcool.com
1735 Johnson Road NE
Atlanta, GA 30306
404.589.0560
--
--
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/groups/opt_out.

--
--
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/groups/opt_out.

<<inline: compose-unknown-contact.jpg>>

Reply via email to