Package io.jmix.flowui.sys.autowire
Class FragmentAutowireContext
java.lang.Object
io.jmix.flowui.sys.autowire.FragmentAutowireContext
- All Implemented Interfaces:
DependencyInjector.AutowireContext<Fragment<?>>
public class FragmentAutowireContext
extends Object
implements DependencyInjector.AutowireContext<Fragment<?>>
Class describes autowire context that is used to autowire dependencies in
Fragment
.-
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.Fragment<?>
-
Field Details
-
fragment
-
autowired
-
-
Constructor Details
-
FragmentAutowireContext
-
-
Method Details
-
getTarget
- Specified by:
getTarget
in interfaceDependencyInjector.AutowireContext<Fragment<?>>
- 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<Fragment<?>>
- Returns:
- collection of objects that have already been autowired
-