EagerImmutableMetaEnvironment
An injection environment implementation with an eager evaluation strategy.
Note that this environment is only intended for meta-environments. It is not intended for regular-purpose (extensible) environments, which should instead use a MixedImmutableEnvironment.
Characteristics
Eager object creation. Objects are created upon construction of this environment.
Eager object injection. Objects are injected upon calling the injection method.
Idempotent/Immutable. Objects cannot be replaced, injection methods will always return the same thing.
Constructors
Types
Functions
Creates an Injector that can be used as a property delegator, bound against the given identifier.
Returns a sequence of all the known identifiers present in this environment.
Extensions
Gets the component identified by the given type turned into an Identifier with an optional qualifier. Throws an exception if no component with this identifier exists.
Retrieve the fundef wrapper for the given function, or throw an exception if no such fundef could be found.
Gets the component identified by the given type turned into an Identifier with an optional qualifier. Returns null if no component with this identifier exists.