StateSystemMapping.addSingleton

Creates a mapping for the System type to a single instance of the provided type. The instance is not created until it is first requested. The type should be the same as or extend the type for this mapping. A SystemSingletonProvider is used for the mapping.

@param type The type of the single instance to be created. If omitted, the type of the mapping is used. @return This StateSystemMapping, so more modifications can be applied

class StateSystemMapping
addSingleton
(
ClassInfo type_a
)

Meta