Class PrototypeContainer
Prototype container.
Instantiates a new object using passed ObjectFactory implementation, on each request of it by some part of an application.
Constructors
Name | Description |
---|---|
this | Default constructor for PrototypeContainer |
Methods
Name | Description |
---|---|
get | Get object created by a factory identified by key |
getFactories | Get all factories available in container. |
getFactory | Get factory for constructed data 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 |
unlink | Removes alias. |
get | Get a Type that is associated with key. |
getFactories | Get all factories available in container. |
getFactory | Get factory for constructed data 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. |
unlink | Removes alias. |