Package io.jmix.flowui.sys
Class UiControllersConfiguration
java.lang.Object
io.jmix.flowui.sys.AbstractScanConfiguration
io.jmix.flowui.sys.UiControllersConfiguration
Configuration that performs ClassPath scanning of
UiController
s and provides UiControllerDefinition
.-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected List<UiControllerDefinition>
protected org.springframework.core.type.classreading.MetadataReaderFactory
Fields inherited from class io.jmix.flowui.sys.AbstractScanConfiguration
DEFAULT_CLASS_RESOURCE_PATTERN
-
Constructor Summary
ConstructorDescriptionUiControllersConfiguration
(org.springframework.context.ApplicationContext applicationContext, AnnotationScanMetadataReaderFactory metadataReaderFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected UiControllerDefinition
extractControllerDefinition
(org.springframework.core.type.classreading.MetadataReader metadataReader) protected org.springframework.core.env.Environment
protected org.springframework.core.type.classreading.MetadataReaderFactory
protected org.springframework.core.io.ResourceLoader
protected boolean
isCandidateUiController
(org.springframework.core.type.classreading.MetadataReader metadataReader) void
setBasePackages
(List<String> basePackages) void
setExplicitDefinitions
(List<UiControllerDefinition> explicitDefinitions) Methods inherited from class io.jmix.flowui.sys.AbstractScanConfiguration
resolveBasePackage, scanPackage
-
Field Details
-
applicationContext
protected org.springframework.context.ApplicationContext applicationContext -
metadataReaderFactory
protected org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory -
basePackages
-
explicitDefinitions
-
-
Constructor Details
-
UiControllersConfiguration
@Autowired public UiControllersConfiguration(org.springframework.context.ApplicationContext applicationContext, AnnotationScanMetadataReaderFactory metadataReaderFactory)
-
-
Method Details
-
getBasePackages
-
setBasePackages
-
getExplicitDefinitions
-
setExplicitDefinitions
-
getUiControllers
-
extractControllerDefinition
protected UiControllerDefinition extractControllerDefinition(org.springframework.core.type.classreading.MetadataReader metadataReader) -
isCandidateUiController
protected boolean isCandidateUiController(org.springframework.core.type.classreading.MetadataReader metadataReader) -
getMetadataReaderFactory
protected org.springframework.core.type.classreading.MetadataReaderFactory getMetadataReaderFactory()- Specified by:
getMetadataReaderFactory
in classAbstractScanConfiguration
-
getResourceLoader
protected org.springframework.core.io.ResourceLoader getResourceLoader()- Specified by:
getResourceLoader
in classAbstractScanConfiguration
-
getEnvironment
protected org.springframework.core.env.Environment getEnvironment()- Specified by:
getEnvironment
in classAbstractScanConfiguration
-