Class UiControllerMeta

java.lang.Object
io.jmix.flowui.sys.UiControllerMeta

public class UiControllerMeta extends Object
Class provides information about screen controller.
  • Field Details

    • metadataReaderFactory

      protected org.springframework.core.type.classreading.MetadataReaderFactory metadataReaderFactory
    • metadataReader

      protected org.springframework.core.type.classreading.MetadataReader metadataReader
    • screenClass

      protected Class<? extends Screen> 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 Screen> screenClass)
  • Method Details

    • getId

      public String getId()
      Returns:
      controller id
    • getControllerClass

      public String 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

      @Nullable public Map<String,Object> getAnnotationAttributes(String annotationName)
      Parameters:
      annotationName - fully qualified annotation class name
      Returns:
      key-value pairs of annotation properties and their values
    • getControllerId

      protected String getControllerId()
    • getScreenClassName

      protected String getScreenClassName()
    • getControllerAnnotationAttributes

      @Nullable protected Map<String,Object> getControllerAnnotationAttributes(String annotationName, Class<? extends Screen> screenClass)