def __init__(self):
     self.sparePartsTask = SparePartsTask()
     self.cherryPyBackgroundTasks = cherrypy.process.plugins.BackgroundTask(
         self.BACKGROUND_TASKS_TIME_IN_SECONDS, self.scheduledTasks)
     self.logger = LoggingManager.getInstance().getLogger(
         self.__class__.__name__)
     self.emailUtility = CdbEmailUtility.getInstance()
Example #2
0
 def __init__(self):
     self.itemDbApi = ItemDbApi()
     self.userDbApi = UserDbApi()
     self.propertyDbApi = PropertyDbApi()
     self.logDbApi = LogDbApi()
     self.emailUtility = CdbEmailUtility.getInstance()
     self.cdbPortalUrlUtility = CdbPortalUrlUtility.getInstance()
     self.logger = LoggingManager.getInstance().getLogger(self.__class__.__name__)