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
this Default constructor for PrototypeContainer

Methods

NameDescription
get Get object created by a factory identified by key
getFactories Get all factories available in container.
getFactory Get factory for constructed component identified by identity.
has Check if an object factory for it exists in container.
instantiate Sets up the internal state of container.
link Alias a key to an alias_.
remove Remove an object factory from container.
resolve Resolve an alias to original identity, if possible.
set Set object factory
terminate Destruct all managed components.
unlink Removes alias.
get Get a Type that is associated with key.
getFactories Get all factories available in container.
getFactory Get factory for constructed component identified by identity.
has Check if an element is present in Locator by key id.
instantiate Sets up the internal state of container.
link Alias a key to an alias_.
remove Remove an element from Storage with identity.
resolve Resolve an alias to original identity, if possible.
set Save an element in Storage by key identity.
terminate Destruct all managed components.
unlink Removes alias.