Skip to content

Instantly share code, notes, and snippets.

@creynders
Created August 7, 2011 12:47
Show Gist options
  • Save creynders/1130345 to your computer and use it in GitHub Desktop.
Save creynders/1130345 to your computer and use it in GitHub Desktop.
Use of services in loading assets
interface ILoaderDelegate
class LoaderMaxFacade implements ILoaderDelegate
interface IApplicationConfigLoaderDelegate extends ILoaderDelegate
//empty <- marker interface
interface IMediaPlayerConfigLoaderDelegate extends ILoaderDelegate
//empty <- marker interface
interface IApplicationConfigRetrieverService
interface IMediaPlayerConfigRetrieverService
class ApplicationConfigLoaderService implements IApplicationConfigRetrieverService
[Inject] public var delegate : IApplicationConfigLoaderDelegate
class MediaPlayerConfigLoaderService implements IMediaPlayerConfigRetrieverService
[Inject] public var delegate : IMediaPlayerConfigLoaderDelegate
RetrieveApplicationConfigCommand
[Inject] public var service : IApplicationConfigRetrieverService
RetrieveMediaPlayerConfigCommand
[Inject] public var service : IMediaPlayerConfigRetrieverService
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment