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

Implements: CompositeFactory


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


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

public constructor(…factories: IFactory[])

  • factories: IFactory[] - list of nested factories

See also