Package io.jmix.flowui.xml.facet
Class FacetLoader
java.lang.Object
io.jmix.flowui.xml.facet.FacetLoader
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected JmixModulesAwareBeanSelectorprotected FacetLoaderResolverprotected Facetsprotected com.google.common.collect.Multimap<String,FacetProvider<?>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Facet_load(org.dom4j.Element element, ComponentLoader.ComponentContext context) Deprecated, for removal: This API element is subject to removal in a future version.protected FacetLoader<?>getLoader(org.dom4j.Element element, ComponentLoader.Context context) protected FacetLoader<?>initLoader(org.dom4j.Element element, Class<? extends FacetLoader<?>> loaderClass, ComponentLoader.Context context) load(org.dom4j.Element element, ComponentLoader.Context context) Creates and loads a facet from XML by the passed XML element.protected voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) protected voidsetFacetLoaderResolver(FacetLoaderResolver facetLoaderResolver) protected voidsetFacetRegistrations(List<FacetProvider<?>> facetProviders)
-
Field Details
-
registrations
-
facetLoaderResolver
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
beanSelector
-
facets
-
-
Constructor Details
-
FacetLoader
-
-
Method Details
-
setFacetRegistrations
@Autowired(required=false) protected void setFacetRegistrations(List<FacetProvider<?>> facetProviders) -
setFacetLoaderResolver
-
setApplicationContext
@Autowired protected void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) -
load
Creates and loads a facet from XML by the passed XML element.- Parameters:
element- element to create a facet fromcontext- 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.
-