Hi List,
I still have the problem the wrong application context is injected using IApplicationContextAware.
You can find a running application including the problem in http://www.flexguse.de/moduleUnloader/
How to reproduce my error:
- load "Single Module Container"
- click "unload module" button
- click "load new module" button
- choose "Module which loads Submodule"
- click "load submodule" button
You will cause the
Code:
Error: Can't find an autowired candidate: Unsatisfied dependency in object [null] for property [demoObject]
.
The demo object is defined in the spring context of InjectedModule3.
The sources for this demo can be found in https://svn.origo.ethz.ch/flex-playg...moduleUnloader.
Please notice you need the patched flexmojos 3.6.1 (http://flex-playground.origo.ethz.ch/download) or the upcoming flexmojos 3.9-SNAPSHOT for building with autowiring support.
Do I use IApplicationContext in a wrong way, is my custom ModuleLoader buggy or is there a bug in SpringActionscript-1.2-SNAPSHOT?
Regards,
Christoph