Author: ygrego Date: 2015-05-06 14:32:37 +0000 (Wed, 06 May 2015) New Revision: 1324 Url: http://forge.nuiton.org/projects/sandbox/repository/revisions/1324 Log: Addition of a property "_modelFactory" created then passed to concerned objects constructors in method "init". The object "RecordingScheduler" become available this one is created in method "init". The method "isObjectSupported" has been modified due to availability of object "RecordingScheduler". Modified: oipf/js/impl/OipfObjectFactory.js Modified: oipf/js/impl/OipfObjectFactory.js =================================================================== --- oipf/js/impl/OipfObjectFactory.js 2015-05-06 14:17:10 UTC (rev 1323) +++ oipf/js/impl/OipfObjectFactory.js 2015-05-06 14:32:37 UTC (rev 1324) @@ -8,6 +8,7 @@ init: function() { console.log("[INFO] constructor of OipfObjectFactory class called."); + this._modelFactory = new ModelFactory(); //this.applicationManagerObject = new ApplicationManagerObject(); //this.capabilitiesObject = new CapabilitiesObject(); //this.codManagerObject = new CodManagerObject(); @@ -16,9 +17,10 @@ //this.mdtfObject = new MDTFObject(); //this.notifSocketObject = new NotifSocket(); //this.parentalControlManagerObject = new ParentalControlManagerObject(); - //this.recordingSchedulerObject = new RecordingSchedulerObject(); - this.searchManagerObject = new SearchManagerObject(); this.configurationObject = new ConfigurationObject(); + this.recordingSchedulerObject = new RecordingSchedulerObject( + this.configurationObject.configuration, this._modelFactory); + this.searchManagerObject = new SearchManagerObject(this._modelFactory); //this.downloadManagerObject= new DownloadManagerObject(); //this.downloadTriggerObject= new DownloadTriggerObject(); //this.drmAgentObject= new DrmAgentObject(); @@ -136,7 +138,7 @@ "application/oipfGatewayInfo" : false, "application/oipfMDTF" : false, "application/oipfParentalControlManager" : false, - "application/oipfRecordingScheduler" : false, + "application/oipfRecordingScheduler" : true, "application/oipfRemoteControlFunction" : false, "application/oipfRemoteManagement" : false, "application/oipfSearchManager" : true,
participants (1)
-
ygregoï¼ users.nuiton.org