def __init__(self, threadMgr, service, manifest): """ Constructor """ ManifestControl.__init__(self, threadMgr, service, manifest) self.setName(ActivateManifest.THREAD_NAME) # stage of activation, used for cleanup self._activationStage = 0 self.__LOG = manifestutil.getServiceLogger(self, logging.getLogger(__name__))
def __init__(self, threadMgr, service, manifest, packages, skipProp = True, skipActivation = False): """ Constructor """ ManifestControl.__init__(self, threadMgr, service, manifest) self.setName(DeployService.THREAD_NAME) self.__packages = packages self.__skipProp = skipProp self.__skipActivation = skipActivation self.__LOG = manifestutil.getServiceLogger(self, logging.getLogger(__name__))
def __init__(self, threadMgr, service): """ Constructor """ ManifestControl.__init__(self, threadMgr, service, manifest=None, name='reset_service') self.setName(ResetService.THREAD_NAME) self.__LOG = manifestutil.getServiceLogger(self, logging.getLogger(__name__))
def __init__(self, threadMgr, service, manifest, packages): """ Constructor """ ManifestControl.__init__(self, threadMgr, service, manifest) self.setName(DeployService.THREAD_NAME) self.__packages = packages
def __init__(self, threadMgr, service): """ Constructor """ ManifestControl.__init__(self, threadMgr, service, None) self.setName(CleanupService.THREAD_NAME)
def __init__(self, threadMgr, service, manifest, action = 'activate', parentId = None): """ Constructor """ ManifestControl.__init__(self, threadMgr, service, manifest, parentId = parentId) self.__action = action self.setName('%s_manifest' % action)
def __init__(self, threadMgr, service): """ Constructor """ ManifestControl.__init__(self, threadMgr, service, manifest = None, name = 'reset_service') self.setName(ResetService.THREAD_NAME) self.__LOG = manifestutil.getServiceLogger(self, logging.getLogger(__name__))
def __init__(self, threadMgr, service, action): """ Constructor """ ManifestControl.__init__(self, threadMgr, service, manifest = None) self.setName(StartStopService.THREAD_NAME) self.__action = action self.__LOG = manifestutil.getServiceLogger(self, logging.getLogger(__name__))
def __init__(self, threadMgr, service, action, parentId = None): """ Constructor """ ManifestControl.__init__(self, threadMgr, service, manifest = None, parentId = parentId) self.setName(StartStopService.THREAD_NAME) self.__action = action