Beispiel #1
0
 def configure(self, config):
     set_attribute(self, 'alias', REQUIRED, config)
     set_attribute(self, 'class_name',REQUIRED, config)
     set_attribute(self, 'lifetime', 'Request',config)        
     ServiceNode.configure(self, config)
Beispiel #2
0
 def configure(self, config):
     set_attribute(self, 'alias', REQUIRED, config)
     set_attribute(self, 'class_name', REQUIRED, config)
     set_attribute(self, 'lifetime', 'Request', config)
     ServiceNode.configure(self, config)
Beispiel #3
0
 def configure(self, cd):
     ServiceNode.configure(self, cd)
     set_attribute(self, 'ttl', self.ttl, cd, float)
     self.enabled = 1
Beispiel #4
0
 def configure(self, config):
     if not getattr(self, 'parent', None):
         config.setdefault('parent', '/')
     self.setattr('secured', as_boolean(config.get('secured', True)))
     ServiceNode.configure(self, config)
Beispiel #5
0
 def configure(self, config):
     if not getattr(self, 'parent', None):
         config.setdefault('parent', '/')
     self.setattr('secured', as_boolean(config.get('secured', True)))
     ServiceNode.configure(self, config)
Beispiel #6
0
 def configure(self, cd):
     ServiceNode.configure(self, cd)
     set_attribute(self, 'ttl', self.ttl, cd, float)
     self.enabled = 1
Beispiel #7
0
 def configure(self, cd):
     ServiceNode.configure(self, cd)
     self.name = 'nodetree_as_dict'
     return
Beispiel #8
0
 def configure(self, cd):
     ServiceNode.configure(self, cd)
     self.name = 'nodetree_as_dict'
     return