Skip to main content
Participant
August 18, 2008
Question

Dynamic ServiceLocator?

  • August 18, 2008
  • 1 reply
  • 603 views
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 has been closed for replies.

1 reply

Participating Frequently
August 29, 2008
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.