Lines Matching full:factory
110 def factory(self, objs): member in ConfigEntry
111 """Optional factory interface for subclasses to add
118 after all factory methods have been run."""
230 def factory(self, objs): member in Fan
235 factory = Everything.classmap(self.rpolicy["type"])
236 rpolicy = factory(**self.rpolicy)
242 factory = Everything.classmap(m["type"])
243 sensor = factory(**m)
248 super(Fan, self).factory(objs)
275 In the first phase a factory method associated with each
276 configuration file directive is invoked. These factory
277 methods generate more factory methods. In the second
278 phase the factory methods created in the first phase
289 # Create factory object for this config file directive.
290 factory = Everything.classmap(x["class"])
291 obj = factory(**x)
304 obj.factory(objs)