I just realized that by invoking this:
Code:
_applicationContext.autowireProcessor = null;
will actually turn off autowiring completely, so also the autowiring of regular container objects, as opposed to just stage wiring.
I've added an extra method to the IStageProcessorRegistry interface: unregisterStageProcessor(), so if you call this method in the FlexXMLApplicationContext's implementation like this:
Code:
applicationContext.unregisterStageProcessor(applicationContext.defaultAutowiringStageProcessorName);
it will only remove the stage processor that handles the stage wiring, yet retaining autowire functionality for the container objects.
Changes are available in the trunk...
cheers,
Roland