That's perfect. Just what I was looking for. Thanks, Joao (sorry can't
reproduce the marking on your name ;-)

-Mike
--- In [email protected], João Fernandes <[EMAIL PROTECTED]>
wrote:
>
> 
> Mike look this post:
> 
>
http://weblogs.macromedia.com/pmartin/archives/2006/06/cairngorm_2_sec.cfm
> 
> DestinationLocator extends serviceLocator so you can replace your
serviceLocator tags in your services.mxml for destinationLocator and
put there your DataServices then use
DestinationLocator.getInstance().getDataService("myDS");
> 
> João Fernandes
> 
> 
> -----Original Message-----
> From: [email protected] on behalf of Mike_Robinson_98
> Sent: Tue 11-Jul-06 7:16 PM
> To: [email protected]
> Subject: [flexcoders] Cairngorm ServiceLocator and FDS
>  
> Is it possible to define a <mx:DataService> in the ServiceLocator or
> is ServiceLocator useful only for <mx:RemoteObject> and
> <mx:WebService>? In the examples I have seen you retrieve a service
> from the ServiceLocator with something like this:
> 
> ServiceLocator.getInstance().getService("ordersService");
> 
> However, the getService() method returns an AbstractService which only
> WebService and RemoteObject extend. 
> 
> Is there some other mechanism to be able to use a DataService within
> the ServiceLocator? The getInvokerService method also does not look
> like it is useful for this purpose.
> 
> Thanks,
> Mike
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Yahoo! Groups gets a make over. See the new email design.
http://us.click.yahoo.com/XISQkA/lOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to