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. DefaultLoggerFactory
  3. DefaultCountersFactory
  4. DefaultConfigReaderFactory
  5. DefaultCacheFactory
  6. DefaultCredentialStoreFactory
  7. DefaultDiscoveryFactory
  8. DefaultTestFactory
  9. DefaultTracerFactory

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