ConstructorBound class abstract final

The hook the generated code uses to create a @ConfigurationProperties bean whose class has constructor parameters.

Such a class cannot be created first and filled later, so its bean definition creates it already bound. Applications never call it; it matters only to hand-written bean definitions.

// Generated for `@ConfigurationProperties('db') class DbProperties`
// whose only constructor has parameters:
create: (r) => ConstructorBound.from<DbProperties>(r, r'dbProperties'),

Spring (Java): the ConstructorBound binding of Spring Boot's ConfigurationPropertiesBean.

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

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

Static Methods

from<T extends Object>(DependencyResolver resolver, String beanName) → T
Creates the bean beanName of type T, bound from the context's environment and validated, using the environment, introspector and bean factory that resolver provides.