def getThreadPools(self): tps = {} def getTpName(x): return x.split('(')[0] for name in map(getTpName, AdminConfig.list('ThreadPool', AdminConfig.getid(self.__was_cfg_path__))): tps[name] = self.getThreadPool(name) return tps
def getThreadPools(self): tps = {} def getTpName(x): return x.split('(')[0] for name in map( getTpName, AdminConfig.list('ThreadPool', AdminConfig.getid(self.__was_cfg_path__))): tps[name] = self.getThreadPool(name) return tps
def __getconfigid__(self): for p in AdminConfig.getid(self.__was_cfg_path__).splitlines(): if self.name == p.split('(')[0]: return p return None
def __getconfigid__(self): return AdminConfig.getid(self.__was_cfg_path__)
def __getconfigid__(self): return AdminConfig.getid( self.__was_cfg_path__).splitlines()[self.index]
def removeAll(self): for sibName in map(lambda x: x.split('(')[0], AdminConfig.getid('/SIBus:/').splitlines()): SIBus(sibName).remove()
def __getconfigid__(self): return AdminConfig.getid(self.__was_cfg_type__, self.parent.__getconfigid__()).splitlines()[0]
def __wasinit__(self): Resource.__wasinit__(self) if self.provider is None: self.provider = AdminConfig.getid(self.__was_cfg_parent__)