Class DefferedContainer

Decorating container that executes deffered tasks after a request is served from exterior. This decorated will inherit following interfaces only and only if the T also implements them:

  1. Storage!(ObjectFactory, string)
  2. AliasAware!string
  3. FactoryLocator
Decorated container must implement following interfaces:
  1. Container
  2. MutableDecorator!T
  3. Subscribable!ContainerInstantiationEventType
  4. Decorator!Container

class DefferedContainer(T) ;

Constructors

NameDescription
this Default constructor for DefferedContainer
this

Fields

NameTypeDescription
depth size_t
executioner_ DefferredExecutioner
identity_ string

Methods

NameDescription
executioner Set executioner
executioner Get executioner
get Get object created by a factory identified by key
has Check if an object factory for it exists in container.
identity Set identity
identity Get identity

Parameters

NameDescription
T The decorated that switchable decorated will decorate.