Package io.jmix.ui.sys
Class UiControllerMeta
java.lang.Object
io.jmix.ui.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
protected Class<? extends FrameOwner>
-
Constructor Summary
ConstructorDescriptionUiControllerMeta
(org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory, Class<? extends FrameOwner> screenClass) UiControllerMeta
(org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory, org.springframework.core.type.classreading.MetadataReader metadataReader) -
Method Summary
Modifier and TypeMethodDescriptionprotected RouteDefinition
getAnnotationAttributes
(String annotationName) getControllerAnnotationAttributes
(String annotationName, Class<?> screenClass) protected String
getId()
org.springframework.core.io.Resource
protected String
traverseForRoute
(Class screenClass) traverseForRoute
(org.springframework.core.type.classreading.MetadataReader metadataReader)
-
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
public UiControllerMeta(org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory, Class<? extends FrameOwner> screenClass)
-
-
Method Details
-
getId
- Returns:
- controller id
-
getControllerClass
- Returns:
- fully qualified controller class name
-
getRouteDefinition
- Returns:
- route definition configured by the
Route
annotation
-
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
-
extractRouteDefinition
-
traverseForRoute
-
traverseForRoute
-
traverseForRoute
-
getControllerAnnotationAttributes
-