Package io.jmix.flowui.sys
Class UiControllerMeta
java.lang.Object
io.jmix.flowui.sys.UiControllerMeta
Class provides information about screen controller.
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.core.type.classreading.MetadataReader
protected org.springframework.core.type.classreading.MetadataReaderFactory
-
Constructor Summary
ConstructorDescriptionUiControllerMeta
(org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory, Class<? extends Screen> screenClass) UiControllerMeta
(org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory, org.springframework.core.type.classreading.MetadataReader metadataReader) -
Method Summary
Modifier and TypeMethodDescriptiongetAnnotationAttributes
(String annotationName) getControllerAnnotationAttributes
(String annotationName, Class<? extends Screen> screenClass) protected String
getId()
org.springframework.core.io.Resource
protected String
-
Field Details
-
metadataReaderFactory
protected org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory -
metadataReader
protected org.springframework.core.type.classreading.MetadataReader metadataReader -
screenClass
-
-
Constructor Details
-
UiControllerMeta
public UiControllerMeta(org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory, org.springframework.core.type.classreading.MetadataReader metadataReader) -
UiControllerMeta
-
-
Method Details
-
getId
- Returns:
- controller id
-
getControllerClass
- Returns:
- fully qualified controller class name
-
getResource
@Nullable public org.springframework.core.io.Resource getResource()- Returns:
- the resource reference for the class file
-
getAnnotationAttributes
- Parameters:
annotationName
- fully qualified annotation class name- Returns:
- key-value pairs of annotation properties and their values
-
getControllerId
-
getScreenClassName
-
getControllerAnnotationAttributes
-