Exemplo n.º 1
0
 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__))
Exemplo n.º 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__))
Exemplo n.º 3
0
 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__))
Exemplo n.º 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__))
Exemplo n.º 5
0
 def __init__(self, threadMgr, service, manifest, packages):
     """ Constructor """
     ManifestControl.__init__(self, threadMgr, service, manifest)
     self.setName(DeployService.THREAD_NAME)
     self.__packages = packages
Exemplo n.º 6
0
 def __init__(self, threadMgr, service):
     """ Constructor """
     ManifestControl.__init__(self, threadMgr, service, None)
     self.setName(CleanupService.THREAD_NAME)
Exemplo n.º 7
0
 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)
Exemplo n.º 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__))
Exemplo n.º 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__))
Exemplo n.º 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