Package io.jmix.ui.sys
Class UiControllerMeta
java.lang.Object
io.jmix.ui.sys.UiControllerMeta
Class provides information about screen controller.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.core.type.classreading.MetadataReaderprotected org.springframework.core.type.classreading.MetadataReaderFactoryprotected Class<? extends FrameOwner> -
Constructor Summary
ConstructorsConstructorDescriptionUiControllerMeta(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 RouteDefinitiongetAnnotationAttributes(String annotationName) getControllerAnnotationAttributes(String annotationName, Class<?> screenClass) protected StringgetId()org.springframework.core.io.Resourceprotected StringtraverseForRoute(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
Routeannotation
-
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
-