Package io.jmix.flowui.sys.autowire
Class ViewAutowireContext
java.lang.Object
io.jmix.flowui.sys.autowire.ViewAutowireContext
- All Implemented Interfaces:
DependencyInjector.AutowireContext<View<?>>
public class ViewAutowireContext
extends Object
implements DependencyInjector.AutowireContext<View<?>>
Class describes autowire context that is used to autowire dependencies in view.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns a collection of objects that have already been autowired and that should not be used in the subsequent injection.View<?>
-
Field Details
-
view
-
autowired
-
-
Constructor Details
-
ViewAutowireContext
-
-
Method Details
-
getTarget
- Specified by:
getTarget
in interfaceDependencyInjector.AutowireContext<View<?>>
- Returns:
- the autowiring target
-
getAutowired
Description copied from interface:DependencyInjector.AutowireContext
Returns a collection of objects that have already been autowired and that should not be used in the subsequent injection. Implementations of injectors use this collection to avoid overwriting already injected objects. Before injection, the injector checks the element to see if it exists in this collection.- Specified by:
getAutowired
in interfaceDependencyInjector.AutowireContext<View<?>>
- Returns:
- collection of objects that have already been autowired
-