src/pyams_utils/factory.py
changeset 380 c062ab4db6cd
parent 319 0f0e69a1d793
child 408 cf2304af0fab
equal deleted inserted replaced
379:07fe5bb08599 380:c062ab4db6cd
     8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
     8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
     9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
     9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
    10 # FOR A PARTICULAR PURPOSE.
    10 # FOR A PARTICULAR PURPOSE.
    11 #
    11 #
    12 
    12 
    13 """Objects factory management
    13 """PyAMS_utils.factory module
    14 
    14 
    15 This module provides a decorator and a small set of functions to handle object factories.
    15 This module provides a decorator and a small set of functions to handle object factories.
    16 
    16 
    17 Instead of directly using a class as an object factory, the object of this module is to
    17 Instead of directly using a class as an object factory, the object of this module is to
    18 let you create an object based on an interface. The first step is to create an object 
    18 let you create an object based on an interface. The first step is to create an object