Class FacetLoader

java.lang.Object
io.jmix.flowui.xml.facet.FacetLoader

@Component("flowui_FacetLoader") public class FacetLoader extends Object
  • Field Details

    • registrations

      protected com.google.common.collect.Multimap<String,FacetProvider<?>> registrations
    • facetLoaderResolver

      protected FacetLoaderResolver facetLoaderResolver
    • applicationContext

      protected org.springframework.context.ApplicationContext applicationContext
    • beanSelector

      protected JmixModulesAwareBeanSelector beanSelector
    • facets

      protected Facets facets
  • Constructor Details

  • Method Details

    • setFacetRegistrations

      @Autowired(required=false) protected void setFacetRegistrations(List<FacetProvider<?>> facetProviders)
    • setFacetLoaderResolver

      @Autowired protected void setFacetLoaderResolver(FacetLoaderResolver facetLoaderResolver)
    • setApplicationContext

      @Autowired protected void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
    • load

      public Facet load(org.dom4j.Element element, ComponentLoader.Context context)
      Creates and loads a facet from XML by the passed XML element.
      Parameters:
      element - element to create a facet from
      context - loading context
      Returns:
      loaded facet
    • getLoader

      @Nullable protected FacetLoader<?> getLoader(org.dom4j.Element element, ComponentLoader.Context context)
    • initLoader

      protected FacetLoader<?> initLoader(org.dom4j.Element element, Class<? extends FacetLoader<?>> loaderClass, ComponentLoader.Context context)
    • _load

      @Deprecated(forRemoval=true, since="2.7") protected Facet _load(org.dom4j.Element element, ComponentLoader.ComponentContext context)
      Deprecated, for removal: This API element is subject to removal in a future version.