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
-
Constructor Summary
ConstructorDescriptionGeoMapViewSubscribeDependencyInjection
(ReflectionCacheManager reflectionCacheManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
autowire
(DependencyInjector.AutowireContext<?> autowireContext) The method is invoked when the component instance is created.protected void
doAutowiring
(ReflectionCacheManager.AnnotatedMethod<Subscribe> annotatedMethod, View<?> view, Class<? extends View> viewClass, Collection<Object> autowired) boolean
isApplicable
(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:DependencyInjector
The method is invoked when the component instance is created. Used to autowire dependencies to the UI component.- Specified by:
autowire
in 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:DependencyInjector
Checks whether this injector can wire the passed injection context.- Specified by:
isApplicable
in interfaceDependencyInjector
- Parameters:
autowireContext
- injection content that need to be checked- Returns:
true
if the passed injection context can be wired,false
otherwise
-