ColdBox Framework Forums Notification: Post to accessing framework from outside RC

Title: RE: accessing framework from outside RC
Thread: accessing framework from outside RC
Forum: Need Help?
Conference: ColdBox
User: tonyg I'm trying to figure out how to use settings in my model as well (using
ColdSpring). I've read the ColdSpring integration guide and think I'm getting it
(still a beginner with ColdSpring). So:

1) you use the coldboxfactory to
declare a configbean in your Coldspring configuration

2) you inject the
configBean into your service object as a property

3) then you can access
settings in your service object by saying (for example):
[code]
getConfigBean().getSetting('AppName')
[/code]

Am I on the right track?
http://forums.coldboxframework.com/index.cfm?event=ehMessages.dspMessages&threadid=1BE1E726-FF65-CEF6-6590D14DFA94C46C