DefaultContainerFactory class
Creates default container components (loggers, counters, caches, locks, etc.) by their descriptors.
See Factory (in the PipServices 'Components' package) See DefaultInfoFactory (in the PipServices 'Components' package) See DefaultLoggerFactory (in the PipServices 'Components' package) See DefaultCountersFactory (in the PipServices 'Components' package) See DefaultConfigReaderFactory (in the PipServices 'Components' package) See DefaultCacheFactory (in the PipServices 'Components' package) See DefaultCredentialStoreFactory (in the PipServices 'Components' package) See DefaultDiscoveryFactory (in the PipServices 'Components' package) See 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.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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 nonexistent method or property is accessed.
inherited
-
remove(
IFactory factory) → void -
Removes a factory from the list of embedded factories.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- descriptor → Descriptor
-
final