Package io.jmix.flowui.sys
Class ActionsConfiguration
java.lang.Object
io.jmix.flowui.sys.AbstractScanConfiguration
io.jmix.flowui.sys.ActionsConfiguration
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContext
protected List<ActionDefinition>
protected org.springframework.core.type.classreading.MetadataReaderFactory
Fields inherited from class io.jmix.flowui.sys.AbstractScanConfiguration
DEFAULT_CLASS_RESOURCE_PATTERN
-
Constructor Summary
ConstructorDescriptionActionsConfiguration
(org.springframework.context.ApplicationContext applicationContext, AnnotationScanMetadataReaderFactory metadataReaderFactory) -
Method Summary
Modifier and TypeMethodDescriptionprotected ActionDefinition
extractActionDefinition
(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
isCandidateViewController
(org.springframework.core.type.classreading.MetadataReader metadataReader) void
setBasePackages
(List<String> basePackages) void
setExplicitDefinitions
(List<ActionDefinition> 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
-
ActionsConfiguration
@Autowired public ActionsConfiguration(org.springframework.context.ApplicationContext applicationContext, AnnotationScanMetadataReaderFactory metadataReaderFactory)
-
-
Method Details
-
getBasePackages
-
setBasePackages
-
getExplicitDefinitions
-
setExplicitDefinitions
-
getActions
-
extractActionDefinition
protected ActionDefinition extractActionDefinition(org.springframework.core.type.classreading.MetadataReader metadataReader) -
isCandidateViewController
protected boolean isCandidateViewController(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
-