Class FacetsImpl

java.lang.Object
io.jmix.ui.component.impl.FacetsImpl
All Implemented Interfaces:
Facets

@Component("ui_Facets") @ParametersAreNonnullByDefault public class FacetsImpl extends Object implements Facets
  • Field Details

    • applicationContext

      @Autowired protected org.springframework.context.ApplicationContext applicationContext
    • registrations

      protected Map<Class<? extends Facet>,FacetProvider> registrations
  • Constructor Details

    • FacetsImpl

      public FacetsImpl()
  • Method Details

    • setFacetRegistrations

      @Autowired(required=false) protected void setFacetRegistrations(List<FacetProvider> registrations)
    • create

      public <T extends Facet> T create(Class<T> facetClass)
      Description copied from interface: Facets
      Create a facet instance by its class.
      Specified by:
      create in interface Facets
      Type Parameters:
      T - type of facet
      Parameters:
      facetClass - facet class
      Returns:
      facet instance
    • autowireContext

      protected void autowireContext(Facet instance)