SAAS-1071 - more work on celery backend

This commit is contained in:
Duncan Sommerville 2015-09-22 20:22:06 -04:00
parent ee1ceb9281
commit 55d5fc62a2
5 changed files with 111 additions and 17 deletions

View file

@ -3,7 +3,7 @@
class CeleryServiceFactory {
/**
*
* Given an identifying string, get a ThirdPartyCeleryService object of that type
*
* @param $serviceName string the name of the service to create
*
@ -13,8 +13,11 @@ class CeleryServiceFactory {
switch($serviceName) {
case SOUNDCLOUD_SERVICE_NAME:
return new Application_Service_SoundcloudService();
case PODCAST_SERVICE_NAME:
return new Application_Service_PodcastService();
default:
return null;
}
return null;
}
}