EntityTransportRegistry class

Process-global registry of EntityTransport instances keyed by entity type.

Mirrors transport/registry.ts from entity-graph-core. Register at app boot, once per entity type.

Constructors

EntityTransportRegistry()
Creates an isolated registry for tests or a scoped ProviderScope.

Properties

hashCode → int
The hash code for this object.
no setterinherited
registeredTypes → List<String>
All currently registered entity type names.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

get<T extends Object>(String type) → EntityTransport<T>
Look up the transport for type. Throws TerminalError if none registered.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
register<T extends Object>(String type, EntityTransport<T> transport) → void
Register the transport for type. Re-registering silently replaces the prior entry (useful in tests).
reset() → void
Test helper — clears all registered transports.
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

instance → EntityTransportRegistry
final