DefaultContainerFactory class

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

See [https://rawgit.com/pip-services-node/pip-services3-components-node/master/doc/api/classes/build.factory.html Factory] (in the PipServices 'Components' package) See [https://rawgit.com/pip-services-node/pip-services3-components-node/master/doc/api/classes/info.defaultinfofactory.html DefaultInfoFactory] (in the PipServices 'Components' package) See [https://rawgit.com/pip-services-node/pip-services3-components-node/master/doc/api/classes/log.defaultloggerfactory.html DefaultLoggerFactory] (in the PipServices 'Components' package) See [https://rawgit.com/pip-services-node/pip-services3-components-node/master/doc/api/classes/count.defaultcountersfactory.html DefaultCountersFactory] (in the PipServices 'Components' package) See [https://rawgit.com/pip-services-node/pip-services3-components-node/master/doc/api/classes/config.defaultconfigreaderfactory.html DefaultConfigReaderFactory] (in the PipServices 'Components' package) See [https://rawgit.com/pip-services-node/pip-services3-components-node/master/doc/api/classes/cache.defaultcachefactory.html DefaultCacheFactory] (in the PipServices 'Components' package) See [https://rawgit.com/pip-services-node/pip-services3-components-node/master/doc/api/classes/auth.defaultcredentialstorefactory.html DefaultCredentialStoreFactory] (in the PipServices 'Components' package) See [https://rawgit.com/pip-services-node/pip-services3-components-node/master/doc/api/classes/connect.defaultdiscoveryfactory.html DefaultDiscoveryFactory] (in the PipServices 'Components' package) See [https://rawgit.com/pip-services-node/pip-services3-components-node/master/doc/api/classes/test.defaulttestfactory.html DefaultTestFactory] (in the PipServices 'Components' package)

Constructors

DefaultContainerFactory(List<IFactory> factories)
Create a new instance of the factory and sets nested factories. [...]

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

add(IFactory factory) → void
Adds a factory into the list of embedded factories. [...]
inherited
canCreate(dynamic locator) → dynamic
Checks if this factory is able to create component by given locator. [...]
inherited
create(dynamic locator) → dynamic
Creates a component identified by given locator. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
remove(IFactory factory) → void
Removes a factory from the list of embedded factories. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited

Static Properties

descriptor → Descriptor
final