Package io.jmix.core
Class JmixModules
java.lang.Object
io.jmix.core.JmixModules
Holds the list of
JmixModuleDescriptor
s.-
Constructor Summary
ConstructorDescriptionJmixModules
(List<JmixModuleDescriptor> moduleDescriptors, org.springframework.core.env.Environment environment) -
Method Summary
Modifier and TypeMethodDescriptiongetAll()
getLast()
getPropertyValues
(String propertyName) Returns the list of property values from all modules in the order of their dependencies, from the core to the application.
-
Constructor Details
-
JmixModules
public JmixModules(List<JmixModuleDescriptor> moduleDescriptors, org.springframework.core.env.Environment environment)
-
-
Method Details
-
getAll
- Returns:
- the list of module descriptors sorted according to dependencies
-
get
- Returns:
- module descriptor by its id or null if not found
-
getLast
- Returns:
- the last module descriptor which normally corresponds to the application
-
getPropertyValues
Returns the list of property values from all modules in the order of their dependencies, from the core to the application. The last item in the list is the value obtained fromEnvironment
.This method is convenient for getting values of "additive" properties like
jmix.core.fetchPlanConfig
.
-