Class PrototypeContainer

Prototype container.

class PrototypeContainer
  : ConfigurableContainer ;

Instantiates a new object using passed ObjectFactory implementation, on each request of it by some part of an application.

Constructors

NameDescription
thisDefault constructor for PrototypeContainer

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.