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
getter/setter pair
dependencyResolver ↔ DependencyResolver
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
logger CompositeLogger
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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