ApplicationContainer

Application container

A default container that provides singleton, and prototype containers as well as a storage for already instantiated data. It should be sufficient for usages, when no specific hierarchy of storages is required.

Constructors

this
this()
Undocumented in source.

Members

Functions

get
Object get(string identity)

Get an Type that is associated with key.

getLocator
Locator!(Object, string) getLocator(string key)

Get a specific locator.

getLocators
InputRange!(Tuple!(Locator!(Object, string), string)) getLocators()

Get all locators in aggregate locator

has
bool has(string identity)

Check if an element is present in Locator by key id.

hasLocator
bool hasLocator(string key)

Check if aggregate locator contains a specific locator.

instantiate
ApplicationContainer instantiate()

Sets up the internal state of container.

remove
ApplicationContainer remove(string identity)
Undocumented in source. Be warned that the author may not have intended to support it.
set
ApplicationContainer set(Container container, string identity)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta