Hi,
I'm trying to figure out how to create a modular Flex application using spring actionscript and have a few questions.
My application has an app context containing common services and each module has a child context with the application's context as parent.
Based on your multiple-modules sample and BasicSASModule, I can get this to work, as long as I only have an autowiring stage processor in the module's contexts but not in the application's context (like in your sample).
However, when I do add the stage processor in the app's context, so I can autowire outside of modules as well, then I run into errors when the modules get autowired. E.g.:
Error: Can't autowire property by name: Unsatisfied dependency in object [null] for property [niftyService]
It seems both the app's stage processor and the module's processor are tried for the autowiring and the app's processor throws the error because it doesn't know the object.
Am I supposed to only use autowiring in modules?
Can I set things up differently to make autowiring in both app and modules possible?
Cheers,
Glenn


Reply With Quote
