Package io.jmix.flowui.sys.autowire
Class FragmentSupplyDependencyInjector
java.lang.Object
io.jmix.flowui.sys.autowire.AbstractSupplyDependencyInjector
io.jmix.flowui.sys.autowire.FragmentSupplyDependencyInjector
- All Implemented Interfaces:
DependencyInjector
@Order(940)
@Component("flowui_FragmentSupplyDependencyInjector")
public class FragmentSupplyDependencyInjector
extends AbstractSupplyDependencyInjector
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.flowui.sys.autowire.DependencyInjector
DependencyInjector.AutowireContext<T extends com.vaadin.flow.component.Composite<?>>
-
Field Summary
Fields inherited from class io.jmix.flowui.sys.autowire.AbstractSupplyDependencyInjector
reflectionCacheManager
-
Constructor Summary
ConstructorDescriptionFragmentSupplyDependencyInjector
(ReflectionCacheManager reflectionCacheManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
getSupplyTargetInstance
(com.vaadin.flow.component.Composite<?> composite, Supply annotation) boolean
isApplicable
(DependencyInjector.AutowireContext<?> autowireContext) Checks whether this injector can wire the passed injection context.Methods inherited from class io.jmix.flowui.sys.autowire.AbstractSupplyDependencyInjector
autowire, createSupplierInstance, doAutowiring, getSupplyTargetSetterMethod
-
Constructor Details
-
FragmentSupplyDependencyInjector
-
-
Method Details
-
getSupplyTargetInstance
@Nullable protected Object getSupplyTargetInstance(com.vaadin.flow.component.Composite<?> composite, Supply annotation) - Specified by:
getSupplyTargetInstance
in classAbstractSupplyDependencyInjector
-
isApplicable
Description copied from interface:DependencyInjector
Checks whether this injector can wire the passed injection context.- Parameters:
autowireContext
- injection content that need to be checked- Returns:
true
if the passed injection context can be wired,false
otherwise
-