Class ApplicationContainer

Application container

class ApplicationContainer
  : AggregateContainer ;

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

NameDescription
thisDefault constructor for ApplicationContainer

Methods

NameDescription
getGet a container, or an object that is contained by managed containers.
getGet a Type that is associated with key.
getLocatorGet a specific container.
getLocatorGet a specific locator.
getLocatorsGet all containers in aggregate container
getLocatorsGet all locators in aggregate locator
hasCheck if an object is present in one of containers, or it is a container itself.
hasCheck if an element is present in Locator by key id.
hasLocatorCheck if aggregate container contains a specific container.
hasLocatorCheck if aggregate locator contains a specific locator.
instantiateFinalize all unfinished initialization work in containers.
instantiateSets up the internal state of container.
removeRemove a container from aggregate container.
removeRemove an element from Storage with identity.
setSet a container into aggregate container
setSave an element in Storage by key identity.