Package io.jmix.flowui.sys
Class ViewControllerMeta
java.lang.Object
io.jmix.flowui.sys.ViewControllerMeta
Class provides information about view controller.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.springframework.core.type.classreading.MetadataReaderprotected org.springframework.core.type.classreading.MetadataReaderFactory -
Constructor Summary
ConstructorsConstructorDescriptionViewControllerMeta(org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory, Class<? extends View> viewClass) ViewControllerMeta(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 View> viewClass) protected StringgetId()org.springframework.core.io.Resourceprotected String
-
Field Details
-
metadataReaderFactory
protected org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory -
metadataReader
protected org.springframework.core.type.classreading.MetadataReader metadataReader -
viewClass
-
-
Constructor Details
-
ViewControllerMeta
public ViewControllerMeta(org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory, org.springframework.core.type.classreading.MetadataReader metadataReader) -
ViewControllerMeta
-
-
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
-
getViewClassName
-
getControllerAnnotationAttributes
-