Package io.jmix.flowui.sys
Class ViewControllerMeta
java.lang.Object
io.jmix.flowui.sys.ViewControllerMeta
Class provides information about view controller.
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.springframework.core.type.classreading.MetadataReader
protected org.springframework.core.type.classreading.MetadataReaderFactory
-
Constructor Summary
ConstructorDescriptionViewControllerMeta
(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 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 -
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
-