Hi

I want to use the ModuleServiceLocator class so that each of my Modules can have their own Services.mxml file. However, I get the Singleton Exception from the ServiceLocator class because in spite of ModuleServiceLocator not calling super in its constructor, the default constructor of the base class (ServiceLocator) has to be called by the framework to construct ModuleServiceLocator.

What would be a good way to maintain independent Services.mxml file for different modules?

One way would be to copy over the ServiceLocator class and take out the getInstance method and the check for instance its constructor.
Another would be to write some code to take the services objects defined for a module on its load and move them into a common CairngormServiceLocator, but I feel doing this requires having code pretty close to doing option #1.

Thanks