Component class

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.

Constructors

Component()

Properties

counters CompositeCounters
read / write
dependencyResolver ↔ DependencyResolver
read / write
logger CompositeLogger
read / write
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

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

Operators

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