Package io.jmix.flowui.sys.autowire
Class AbstractClickNotifierDependencyInjector
java.lang.Object
io.jmix.flowui.sys.autowire.AbstractClickNotifierDependencyInjector
- All Implemented Interfaces:
DependencyInjector
- Direct Known Subclasses:
FragmentClickNotifierDependencyInjector,ViewClickNotifierDependencyInjector
public abstract class AbstractClickNotifierDependencyInjector
extends Object
implements DependencyInjector
-
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 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractClickNotifierDependencyInjector(ReflectionCacheManager reflectionCacheManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidautowire(DependencyInjector.AutowireContext<?> autowireContext) The method is invoked when the component instance is created.protected StringconvertSubjectToMethodName(String methodName) protected voiddoAutowiring(ReflectionCacheManager.AnnotatedMethod<Subscribe> annotatedMethod, com.vaadin.flow.component.Composite<?> composite, Class<? extends com.vaadin.flow.component.Composite> compositeClass, Collection<Object> autowired) protected abstract ObjectgetEventTarget(com.vaadin.flow.component.Composite<?> composite, String target) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.flowui.sys.autowire.DependencyInjector
isApplicable
-
Field Details
-
DEFAULT_CLICK_LISTENER_METHOD_NAME
- See Also:
-
reflectionCacheManager
-
-
Constructor Details
-
AbstractClickNotifierDependencyInjector
-
-
Method Details
-
autowire
Description copied from interface:DependencyInjectorThe method is invoked when the component instance is created. Used to autowire dependencies to the UI component.- Specified by:
autowirein interfaceDependencyInjector- Parameters:
autowireContext- injection context
-
doAutowiring
protected void doAutowiring(ReflectionCacheManager.AnnotatedMethod<Subscribe> annotatedMethod, com.vaadin.flow.component.Composite<?> composite, Class<? extends com.vaadin.flow.component.Composite> compositeClass, Collection<Object> autowired) -
getEventTarget
-
convertSubjectToMethodName
-