def start(self): alias = self.alias class_name = self.class_name lifetime = self.lifetime # Register with our parent the named object self.parent.register_deployed_object(alias, class_name, lifetime) ServiceNode.start(self)
def start(self): self._begin_critical_section() try: if self._sessions is None: self._sessions = PersistentDictionary(self.name, encode=Session.encode, decode=Session.decode) if not self._scheduled: self._scheduled = scheduler.every(self.ttl, self.collect) finally: self._end_critical_section() self.user_manager = as_node("/services/User Manager") return ServiceNode.start(self)