Dec 22nd, 2010, 11:19 AM
Looks like I'm running in the same little problems Christoph is encountering, so I'll add my thoughts (for what they are worth).
When you set ModulePolicy.IGNORE, everything will work fine in modules that load their own context and define their own AutowiringStageProcessor. You can perfectly autowire objects from both the application and module's contexts.
In a module that only needs objects from the application's context and doesn't define its own module context, you will not be able to autowire because the application's AutowiringStageProcessor is ignoring modules. To make this work you have to define a context for the module that only contains an AutowiringStageProcessor and load that.
Nothing wrong here, just a bit hard to get your head around when you're just starting with modules. An extra ModulePolicy might help, but I don't have a patch ready