Skip to main content
Participant
Aug 18, 2008 8:19 AM UTC
Question

Dynamic ServiceLocator?

Hi,

what's really missing in the ServiceLocator IMO is the ability to register services at runtime. That would make the SL much more useful since you could load service configuration and set up everything at runtime. The way the SL is implemented now seems too heavily based on MXML.

Any thoughts?

regards,
Christophe
This topic is closed to new replies. Start a new post to keep the conversation going.

1 reply

Participating Frequently
Aug 29, 2008 12:58 PM UTC
I agree with the fact that the current ServiceLocator's MXML implementation seems a bit awckward. However, dynamic injection of data (in a RemoteObject destination property, for instance) is already possible, if you don't rely on the services-config.xml file. So I guess the much needed flexibility in the application deployment is not necessary related to the ServiceLocator implementation.
Translate