Пример #1
0
    def __init__(self, factory=None, args=[]):
        if factory is None:
            args = []
            from Journal import Journal as factory

        Facility.__init__(self, name="journal", factory=factory, args=args)
        return
Пример #2
0
 def __init__(self,
              name='iworker',
              family=None,
              default=Dummy(),
              meta=None):
     Facility.__init__(self, name, family, default, None, (), meta)
     return
Пример #3
0
 def __init__(self, factory=None, args=[]):
     if factory is None:
         args = []
         from Journal import Journal as factory
         
     Facility.__init__(self, name="journal", factory=factory, args=args)
     return
Пример #4
0
    def __init__(self, factory=None, args=[]):

        if factory is None:
            args = []
            from Renderer import Renderer as factory
            
        Facility.__init__(self, name="renderer", factory=factory, args=args)
        return
Пример #5
0
    def __init__(self, factory=None, args=[]):

        if factory is None:
            args = []
            from Renderer import Renderer as factory

        Facility.__init__(self, name="renderer", factory=factory, args=args)
        return
Пример #6
0
    def __init__(self, factory=None, args=[]):
        if factory is None:
            args = []
            from Console import Console as factory

        Facility.__init__(self, name="device", factory=factory, args=args)

        return
Пример #7
0
 def __init__(self, factory=None, args=[]):
     Facility.__init__(self,
                       name="device",
                       factory=factory,
                       args=args,
                       vault=['devices'])
Пример #8
0
 def __init__(self, name='form', family=None, default=None, meta=None):
     Facility.__init__(self, name, family, default, None, (), meta)
     return
Пример #9
0
 def __init__(self, family=None, default=None, meta=None):
     Facility.__init__(self, 'dataobject', family, default, None, (), meta)
     return
Пример #10
0
 def __init__(self, family=None, default=None, meta=None):
     Facility.__init__(self, 'actor', family, default, None, (), meta)
     return
Пример #11
0
 def __init__(self, name, itemFactory, **kwds):
     Facility.__init__(self, name=name, **kwds)
     self.itemFactory = itemFactory
     return
Пример #12
0
    def __init__(self, name):
        from Channel import Channel
        Facility.__init__(self, name=name, factory=Channel, args=[name])

        return
Пример #13
0
 def __init__(self, name = 'form', family=None, default=None, meta=None):
     Facility.__init__(self, name, family, default, None, (), meta)
     return
Пример #14
0
 def __init__(self, family=None, default=None, meta=None):
     Facility.__init__(self, 'dataobject', family, default, None, (), meta)
     return
Пример #15
0
 def __init__(self, factory=None, args=[]):
     Facility.__init__(self, name="device", factory=factory, args=args,
                       vault=['devices'])
Пример #16
0
 def __init__(self, name = 'iworker', family=None, default=Dummy(), meta=None):
     Facility.__init__(self, name, family, default, None, (), meta)
     return
Пример #17
0
    def __init__(self, name):
        from vnf.components.Geometer import Geometer
        Facility.__init__(self, name=name, factory=Geometer, args=[name])

        return
Пример #18
0
 def __init__(self, name, itemFactory, **kwds):
     Facility.__init__(self, name=name, **kwds)
     self.itemFactory = itemFactory
     return