ServiceLocator class

Provides easy, direct access to application dependencies (services).

Constructors

ServiceLocator.new()

Properties

actionApi → ActionApi
Gets the singleton actionApi instance from its factory.
no setter
appStartApi → AppStartApi
Gets the singleton appStartApi instance from its factory.
no setter
configurationRepository → AgentConfigurationRepository
Gets the singleton configurationRepository
no setter
errorApi → ErrorApi
Gets the singleton errorApi instance from its factory.
no setter
errorReporterGen2 → ErrorReporterGen2
no setter
errorReporterGen3 → ErrorReporterGen3
no setter
errorSensor → ErrorSensor
no setter
eventApi → EventApi
Gets the singleton eventApi instance from its factory.
no setter
eventProcessor EventProcessor
Gets the singleton eventProcessor instance from its factory.
no setter
factory ServiceLocatorFactory
The underlying factory providing the service instances.
final
hashCode int
The hash code for this object.
no setterinherited
logger Logger
Gets the singleton logger instance from its factory.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
settingsApi → SettingsApi
Gets the singleton settingsApi instance from its factory.
no setter
thirdGenApi ThirdGenApi
Gets the singleton thirdGenApi instance from its factory.
no setter
viewApi → ViewApi
Gets the singleton viewApi instance from its factory.
no setter
webRequestApi → WebRequestApi
Gets the singleton webRequestApi instance from its factory.
no setter

Methods

clearAll() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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