* Default constructor for SingletonContainer
* Get object created by a factory identified by key * * Params: * key = identity of factory * Returns: * Object
Get all factories available in container.
Get factory for constructed component identified by identity.
* Check if an object factory for it exists in container. * * Params: * key = identity of factory * Returns: * bool
Sets up the internal state of container.
Alias a key to an alias_.
* Remove an object factory from container. * * Params: * key = identity of factory to be removed * Returns: * typeof(this)
Resolve an alias to original identity, if possible.
* Set object factory * * Params: * object = factory for a object that is to be managed by prototype container. * key = identity of factory * Returns: * typeof(this)
Destruct all managed components.
Removes alias.
Singleton container.
It creates objects from ObjectFactory implementations and sets them as long as it lives in application.