Module aermicioi.aedi.configurer.register.factory_configurer

This module provides fluent api based configuration of components with custom configuration errors.

Functions

NameDescription
autowire(factory) Autowire a constructor, field or a method.
callback(factory, dg, args) Construct component using a delegate.
callback(factory, dg, args) Call dg on a component that is in configuration phase.
construct(factory, args) Construct component using args.
defferedConfiguration(factory) Configure factory to defer configuration for later time using deffered executioner stored in locator by defferedExecutionerIdentity or by DefferedExecutioner interface.
defferredConfiguration(factory, defferedExecutionerIdentity) Configure factory to defer configuration for later time using deffered executioner stored in locator by defferedExecutionerIdentity or by DefferedExecutioner interface.
defferredConstruction(factory, defferedExecutionerIdentity) Configure factory to defer construction for later time using deffered executioner stored in locator by defferedExecutionerIdentity or by DefferedExecutioner interface.
destructor(factory, dg, args) Use delegate T for destruction of component.
destructor(factory, destructor, args) Use method of destructor to destroy component.
factoryMethod(factory, factoryMethod, args) Invoke T's method to create component of type X.
parent(factory, delegated) Instantiates a component using as basis some third party factory.
proxy(factory) Mark constructed object to be provided through a proxy instead of directly doing so. Object will be proxied only in case when the storage where it is stored support storing of proxy object factories.
set(factory, args) Invoke component's method with supplied args.
set(factory, arg) Set component's public field to passed arg.
tag(factory, tag) Tag constructed component with some information.
value(factory, value) Instantiates a component using a value as basis.