Package io.jmix.flowui.sys.autowire
Class AutowireManager
java.lang.Object
io.jmix.flowui.sys.autowire.AutowireManager
Factory to autowire fields/setters and additional dependencies to UI components using
DependencyInjector
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
autowire
(DependencyInjector.AutowireContext<?> context) Injects elements according to the passedDependencyInjector.AutowireContext
.
-
Field Details
-
dependencyInjectors
-
-
Constructor Details
-
AutowireManager
-
-
Method Details
-
autowire
Injects elements according to the passedDependencyInjector.AutowireContext
.Trying to find
DependencyInjector
implementations. If at least one injector exists, then:- Iterates over factories according to the
Ordered
interface. - Injects using all applicable injector.
- Parameters:
context
- theDependencyInjector.AutowireContext
instance
- Iterates over factories according to the
-