Package io.jmix.mapsflowui.sys.autowire
Class GeoMapViewSubscribeDependencyInjection
java.lang.Object
io.jmix.mapsflowui.sys.autowire.GeoMapViewSubscribeDependencyInjection
- All Implemented Interfaces:
DependencyInjector
@Order(880)
@Component("map_GeoMapViewSubscribeDependencyInjection")
public class GeoMapViewSubscribeDependencyInjection
extends Object
implements DependencyInjector
An injector that autowires method that are annotated by the
Subscribe annotation.
These can be subscriptions to GeoMap elements: VectorSource,
DataVectorSource and HeatmapDataVectorSource.-
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
ConstructorsConstructorDescriptionGeoMapViewSubscribeDependencyInjection(ReflectionCacheManager reflectionCacheManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidautowire(DependencyInjector.AutowireContext<?> autowireContext) The method is invoked when the component instance is created.protected voiddoAutowiring(ReflectionCacheManager.AnnotatedMethod<Subscribe> annotatedMethod, View<?> view, Class<? extends View> viewClass, Collection<Object> autowired) booleanisApplicable(DependencyInjector.AutowireContext<?> autowireContext) Checks whether this injector can wire the passed injection context.
-
Field Details
-
reflectionCacheManager
-
-
Constructor Details
-
GeoMapViewSubscribeDependencyInjection
-
-
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, View<?> view, Class<? extends View> viewClass, Collection<Object> autowired) -
isApplicable
Description copied from interface:DependencyInjectorChecks whether this injector can wire the passed injection context.- Specified by:
isApplicablein interfaceDependencyInjector- Parameters:
autowireContext- injection content that need to be checked- Returns:
trueif the passed injection context can be wired,falseotherwise
-