Class MapAutowireUtils

java.lang.Object
io.jmix.mapsflowui.sys.autowire.MapAutowireUtils

public final class MapAutowireUtils extends Object
Helper class for GeoMap dependencies autowiring.
  • Method Details

    • findGeoMapTarget

      @Nullable public static Object findGeoMapTarget(Class<?> type, String name, com.vaadin.flow.component.Composite<?> composite)
      Finds the target in passed composite by ID.
      Parameters:
      type - target type
      name - ID path
      composite - composite for search
      Returns:
      found target object or null if target not found
      Throws:
      IllegalStateException - if the composite content is not a container