Class SingletonContainer

Singleton container.

class SingletonContainer
  : ConfigurableContainer ;

It creates objects from ObjectFactory implementations and sets them as long as it lives in application.

Constructors

NameDescription
thisDefault constructor for SingletonContainer

Methods

NameDescription
getGet object created by a factory identified by key
getFactoriesGet all factories available in container.
getFactoryGet factory for constructed data identified by identity.
hasCheck if an object factory for it exists in container.
instantiateSets up the internal state of container.
linkAlias a key to an alias_.
removeRemove an object factory from container.
resolveResolve an alias to original identity, if possible.
setSet object factory
unlinkRemoves alias.
getGet a Type that is associated with key.
getFactoriesGet all factories available in container.
getFactoryGet factory for constructed data identified by identity.
hasCheck if an element is present in Locator by key id.
instantiateSets up the internal state of container.
linkAlias a key to an alias_.
removeRemove an element from Storage with identity.
resolveResolve an alias to original identity, if possible.
setSave an element in Storage by key identity.
unlinkRemoves alias.