Package io.jmix.flowui.sys.autowire
Class FragmentSubscribeDependencyInjector
java.lang.Object
io.jmix.flowui.sys.autowire.AbstractSubscribeDependencyInjector
io.jmix.flowui.sys.autowire.FragmentSubscribeDependencyInjector
- All Implemented Interfaces:
DependencyInjector
@Order(920)
@Component("flowui_FragmentSubscribeDependencyInjector")
public class FragmentSubscribeDependencyInjector
extends AbstractSubscribeDependencyInjector
-
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.AbstractSubscribeDependencyInjector
reflectionCacheManager -
Constructor Summary
ConstructorsConstructorDescriptionFragmentSubscribeDependencyInjector(ReflectionCacheManager reflectionCacheManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectgetEventTarget(Subscribe annotation, com.vaadin.flow.component.Composite<?> composite) booleanisApplicable(DependencyInjector.AutowireContext<?> autowireContext) Checks whether this injector can wire the passed injection context.Methods inherited from class io.jmix.flowui.sys.autowire.AbstractSubscribeDependencyInjector
autowire, doAutowiring
-
Constructor Details
-
FragmentSubscribeDependencyInjector
-
-
Method Details
-
getEventTarget
@Nullable protected Object getEventTarget(Subscribe annotation, com.vaadin.flow.component.Composite<?> composite) - Specified by:
getEventTargetin classAbstractSubscribeDependencyInjector
-
isApplicable
Description copied from interface:DependencyInjectorChecks whether this injector can wire the passed injection context.- Parameters:
autowireContext- injection content that need to be checked- Returns:
trueif the passed injection context can be wired,falseotherwise
-