Class DefinitionSpaceLoader


  • public final class DefinitionSpaceLoader
    extends Object
    A DefinitionLoader uses all the DefinitionProviders of all the modules to register all definitions at once at the beginning. Use DynamoDefinitionProvider to use the DSL.
    Author:
    pchretien
    • Method Detail

      • loadDefinitions

        public DefinitionSpaceLoader loadDefinitions​(List<ModuleConfig> moduleConfigs)
        Inject all the definition of the modules.
        Parameters:
        moduleConfigs - module configs
        Returns:
        a stream of definitions
      • loadDefinitionsFromComponents

        public DefinitionSpaceLoader loadDefinitionsFromComponents()
        Inject all the definitions provided by components.
      • endLoading

        public void endLoading()