Component class Null safety

Abstract component that supportes configurable dependencies, logging and performance counters.

Configuration parameters

  • dependencies:
    • dependency name 1: Dependency 1 locator (descriptor)
    • ...
    • dependency name N: Dependency N locator (descriptor)

References

  • *:counters:*:*:1.0 (optional) ICounters components to pass collected measurements
  • *:logger:*:*:1.0 (optional) ILogger components to pass log messages
  • ... References must match configured dependencies.
Implemented types

Constructors

Component()

Properties

counters CompositeCounters
read / write
dependencyResolver DependencyResolver
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
logger CompositeLogger
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

configure(ConfigParams config) → void
Configures component by passing configuration parameters. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
setReferences(IReferences references) → void
Sets references to dependent components. [...]
override
toString() String
A string representation of this object. [...]
inherited

Operators

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