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__))
示例#2
0
 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, 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__))
示例#4
0
 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__))
示例#5
0
 def __init__(self, threadMgr, service, manifest, packages):
     """ Constructor """
     ManifestControl.__init__(self, threadMgr, service, manifest)
     self.setName(DeployService.THREAD_NAME)
     self.__packages = packages
示例#6
0
 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)
示例#8
0
 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__))
示例#9
0
 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__))
示例#10
0
 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