Module: LayerFactory

Layer Factory creates layers based on the layer type. All types of layers needs to register in the layer factory. For getting a layer instance, getLayer method needs to invoked with the layerType and other arguments. It also registers the definition of composite layers.
Source: