DefaultContainerFactory

Creates default container components (loggers, counters, caches, locks, etc.) by their descriptors.

Implements: CompositeFactory

Description

The DefaultContainerFactory class allows you to create factories used to create default container components by their descriptors. The factories included are:

  1. DefaultInfoFactory
  2. DefaultCredentialStoreFactory
  3. DefaultDiscoveryFactory
  4. DefaultTestFactory

Constructors

NewDefaultContainerFactoryFromFactories

Creates a new instance of the factory and sets nested factories.

NewDefaultContainerFactoryFromFactories(factories …IFactory) *CompositeFactory

  • factories: …IFactory - list of nested factories

NewDefaultContainerFactory

Create a new instance of the factory and sets nested factories.

NewDefaultContainerFactory() *CompositeFactory

See also