RequestScope class
request scopes create instances on every call
- Inheritance
-
- Object
- AbstractScope
- RequestScope
- Annotations
-
- @Scope(name: "request", register: false)
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
get<
T> (AbstractInstanceProvider< T> provider, Environment environment, ArgumentsProvider argumentProvider) → T -
return a new or cached instance of a requested type
provider
a AbstractInstanceProvider used to create a new instanceenvironment
the EnvironmentargumentProvider
a ArgumentsProvider that computed the required constructor parametersoverride -
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